/* ============================================================ 流·Studio · Restraint 风格(Firecrawl-inspired) 适用所有页面 · 米白底 + 单橙 accent + 0 圆角硬边容器 ============================================================ */ @font-face { font-family: 'Alibaba PuHuiTi'; font-weight: 400; font-style: normal; font-display: swap; src: local('Alibaba PuHuiTi 3.0'), local('AlibabaPuHuiTi-3-55-Regular'), local('Alibaba PuHuiTi 2.0'), local('AlibabaPuHuiTi-2-55-Regular'), url('/fonts/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2'); } @font-face { font-family: 'Alibaba PuHuiTi'; font-weight: 500; font-style: normal; font-display: swap; src: local('Alibaba PuHuiTi 3.0 Medium'), local('AlibabaPuHuiTi-3-65-Medium'), local('AlibabaPuHuiTi-2-65-Medium'), url('/fonts/AlibabaPuHuiTi-3-65-Medium.woff2') format('woff2'); } @font-face { font-family: 'Alibaba PuHuiTi'; font-weight: 600; font-style: normal; font-display: swap; src: local('AlibabaPuHuiTi-3-75-SemiBold'), local('AlibabaPuHuiTi-2-75-SemiBold'), url('/fonts/AlibabaPuHuiTi-3-75-SemiBold.woff2') format('woff2'); } @font-face { font-family: 'Alibaba PuHuiTi'; font-weight: 700; font-style: normal; font-display: swap; src: local('Alibaba PuHuiTi 3.0 Bold'), local('AlibabaPuHuiTi-3-85-Bold'), local('AlibabaPuHuiTi-2-85-Bold'), url('/fonts/AlibabaPuHuiTi-3-85-Bold.woff2') format('woff2'); } * { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #FAF9F5; --bg-soft: #F4F2EC; --card: #FFFFFF; --border: #E9E5DB; --border-soft: #EFEBE0; --ink: #15140F; --ink-2: #5A584F; --ink-3: #9C988C; --ink-4: #C8C4B8; --orange: #E55B26; --orange-soft: #FAE8DC; --orange-tint: #FFF4ED; --orange-hover: #D04E1F; --green: #3F6B3F; --green-bg: #EAF2EA; --green-bd: #D5E5D5; --red: #B33A2A; --red-bg: #FBEBE7; --red-bd: #F2D6CE; } html, body { background: var(--bg); color: var(--ink); font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif; font-size: 13px; line-height: 1.5; -webkit-font-smoothing: antialiased; } a { color: inherit; text-decoration: none; } button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; } input, textarea, select { font: inherit; color: inherit; outline: none; } img, svg, video { display: block; max-width: 100%; } .num, .tnum { font-variant-numeric: tabular-nums; } .mono { font-family: 'JetBrains Mono', monospace; } .muted { color: var(--ink-2); } .muted-2 { color: var(--ink-3); } .spacer { flex: 1; } .hstack { display: flex; align-items: center; gap: 8px; } .vstack { display: flex; flex-direction: column; gap: 8px; } .divider { height: 1px; background: var(--border); margin: 14px 0; } /* ─── App shell ─── */ .app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; } /* ─── Sidebar ─── */ aside.sidebar { padding: 18px 14px; border-right: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; height: 100vh; overflow-y: auto; } .brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; } .flame { width: 22px; height: 22px; color: var(--orange); } .flame svg { width: 100%; height: 100%; } .brand .name { font-weight: 600; font-size: 18px; letter-spacing: -.012em; } .search-box { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 9px; color: var(--ink-3); margin-bottom: 14px; cursor: text; } .search-box svg { width: 14px; height: 14px; } .search-box input { flex: 1; border: 0; background: transparent; font-size: 13px; color: var(--ink); } .search-box input::placeholder { color: var(--ink-3); } .search-box .kbd { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border-soft); } .nav-section { font-size: 12px; color: var(--ink-3); padding: 14px 12px 6px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; } nav { display: flex; flex-direction: column; gap: 1px; } nav a { display: flex; align-items: center; gap: 11px; padding: 8px 12px; color: var(--ink-2); font-size: 14px; font-weight: 500; border-radius: 7px; cursor: pointer; user-select: none; } nav a:hover { background: var(--bg-soft); color: var(--ink); } nav a.active { background: var(--orange-tint); color: var(--orange); } nav a svg { width: 14px; height: 14px; color: var(--ink-3); } nav a.active svg { color: var(--orange); } nav a .pill-mini { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; padding: 2px 6px; background: var(--card); color: var(--ink-3); border: 1px solid var(--border); border-radius: 999px; letter-spacing: .04em; } nav a.disabled { color: var(--ink-4); cursor: not-allowed; } nav a.disabled:hover { background: transparent; color: var(--ink-4); } .aside-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); } .user { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 8px; cursor: pointer; } .user:hover { background: var(--bg-soft); } .user .av { width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: #FFF; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; } .user .em { font-size: 13px; } /* ─── Main + grid background ─── */ main { position: relative; overflow: hidden; background: var(--bg); } .grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml;utf8,"), url("data:image/svg+xml;utf8,"), url("data:image/svg+xml;utf8,"); background-size: 240px 240px, 60px 60px, 240px 240px; mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, #000 25%, transparent 95%); -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, #000 25%, transparent 95%); } .scatter { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.05; color: var(--ink-4); white-space: pre; pointer-events: none; opacity: .8; letter-spacing: .04em; } .tag-corner { position: absolute; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .06em; pointer-events: none; opacity: .85; z-index: 1; } .sq-mark { position: absolute; width: 5px; height: 5px; background: var(--ink-3); opacity: .55; pointer-events: none; } /* ─── Topbar ─── */ .topbar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--border); background: var(--bg); position: relative; z-index: 2; } .crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); } .crumbs .sep { color: var(--ink-4); } .crumbs .here { color: var(--ink); font-weight: 500; } .crumbs a:hover { color: var(--ink); } .topbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; } .balance-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--ink-2); cursor: pointer; } .balance-chip:hover { background: var(--bg-soft); } .balance-chip strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; } .balance-chip svg { width: 13px; height: 13px; color: var(--orange); } .icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); border-radius: 9px; color: var(--ink-2); cursor: pointer; position: relative; } .icon-btn:hover { background: var(--bg-soft); color: var(--ink); } .icon-btn svg { width: 15px; height: 15px; } .icon-btn .dot-noti { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--card); } /* ─── Content ─── */ /* 内容区始终紧贴侧栏铺满整个剩余宽度(与生产管线全屏页一致),不限宽、不居中 —— 否则宽屏会右侧留白或内容居中变窄 */ .content { padding: 36px 48px 60px; position: relative; z-index: 1; } .page-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; } .page-head h1 { font-size: 26px; font-weight: 600; letter-spacing: -.018em; line-height: 1.2; } .page-head .sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .page-head .sub .mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); } .page-head .actions { display: flex; gap: 8px; align-items: center; } .section-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; } .section-h h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; } .section-h .more { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; cursor: pointer; } .section-h .more:hover { color: var(--orange); } /* ─── Buttons ─── */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--card); color: var(--ink); cursor: pointer; white-space: nowrap; font-family: inherit; } .btn:hover { background: var(--bg-soft); } .btn:disabled, .btn.disabled { color: var(--ink-3); background: var(--bg-soft); cursor: not-allowed; } .btn svg { width: 13px; height: 13px; } .btn-primary { background: var(--orange); color: #FFF; border-color: var(--orange); font-weight: 600; padding: 8px 16px; } .btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); } .btn-primary:disabled { background: var(--bg-soft); color: var(--ink-3); border-color: var(--border); } .btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); } .btn-ghost:hover { background: var(--bg-soft); color: var(--ink); } .btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 7px; } .btn-lg { padding: 10px 18px; font-size: 14px; } /* ─── Pills ─── */ .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--card); color: var(--ink-2); white-space: nowrap; } .pill.info { background: var(--orange-tint); color: var(--orange); border-color: var(--orange-soft); } .pill.ok { background: var(--green-bg); color: var(--green); border-color: var(--green-bd); } .pill.err { background: var(--red-bg); color: var(--red); border-color: var(--red-bd); } .pill.neutral { background: var(--bg-soft); color: var(--ink-2); border-color: var(--border); } .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; } /* ─── Cards / containers (0 圆角硬边) ─── */ .card-hard { background: var(--card); border: 1px solid var(--border); position: relative; } .card-hard.with-corners::before, .card-hard.with-corners::after, .with-corners .corner-tr, .with-corners .corner-bl { position: absolute; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1; } .card-hard.with-corners::before { content: '+'; top: -8px; left: -8px; } .card-hard.with-corners::after { content: '+'; bottom: -8px; right: -8px; } .with-corners .corner-tr { top: -8px; right: -8px; } .with-corners .corner-bl { bottom: -8px; left: -8px; } /* ─── Stats (KPI bar) ─── */ .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border: 1px solid var(--border); position: relative; margin-bottom: 32px; } .stat { padding: 22px 24px; border-right: 1px solid var(--border); position: relative; cursor: pointer; transition: background .15s; } .stat:hover { background: var(--bg-soft); } .stat:last-child { border-right: 0; } .stat .lbl { font-size: 13px; color: var(--ink-3); font-weight: 500; display: flex; align-items: center; gap: 6px; } .stat .lbl .badge { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border-soft); } .stat .v { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; } .stat .v small { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 2px; } .stat .delta { font-family: 'JetBrains Mono', monospace; font-size: 12px; margin-top: 8px; color: var(--ink-3); letter-spacing: .02em; } .stat .delta.up { color: var(--green); } .stat .bar { height: 5px; background: var(--bg-soft); border-radius: 3px; margin-top: 12px; overflow: hidden; } .stat .bar > span { display: block; height: 100%; background: var(--orange); border-radius: 3px; } .stat .sub { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); margin-top: 8px; letter-spacing: .02em; } /* ─── Form fields ─── */ .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; } .field-label { font-size: 13px; font-weight: 500; color: var(--ink); } .field-label .req { color: var(--red); margin-left: 2px; } .field-hint { font-size: 12px; color: var(--ink-3); } .input, .textarea, .select { height: 36px; padding: 0 12px; background: var(--card); border: 1px solid var(--border); border-radius: 9px; font-size: 13px; width: 100%; font-family: inherit; color: var(--ink); } .input:focus, .textarea:focus, .select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(229, 91, 38, 0.10); } .input::placeholder, .textarea::placeholder { color: var(--ink-3); } .textarea { height: auto; min-height: 80px; padding: 10px 12px; line-height: 1.55; resize: vertical; } .select { appearance: none; background-image: url("data:image/svg+xml;utf8,"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; } /* ─── Tabs ─── */ .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; } .tab { padding: 9px 14px; font-size: 13px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font-weight: 500; user-select: none; } .tab:hover { color: var(--ink); } .tab.active { color: var(--orange); border-bottom-color: var(--orange); } .tab .count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); margin-left: 6px; padding: 1px 6px; background: var(--bg-soft); border-radius: 4px; } .tab.active .count { background: var(--orange-tint); color: var(--orange); } /* ─── Filter chips ─── */ .chip { height: 32px; padding: 0 12px; border: 1px solid var(--border); background: var(--card); border-radius: 8px; font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: inherit; } .chip:hover { background: var(--bg-soft); } .chip.active { border-color: var(--orange); color: var(--orange); background: var(--orange-tint); } .chip svg { width: 12px; height: 12px; } /* ─── Toolbar ─── */ .toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; } .toolbar .search-inline { position: relative; flex: 1; max-width: 320px; } .toolbar .search-inline svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 14px; height: 14px; } .toolbar .search-inline input { padding-left: 34px; } /* ─── Progress (5 段流水线) ─── */ .prog { display: flex; gap: 3px; } .prog span { width: 18px; height: 5px; border-radius: 2px; background: var(--bg-soft); } .prog span.done { background: var(--ink-2); } .prog span.cur { background: var(--orange); } .prog span.fail { background: var(--red); } /* ─── Table ─── */ table.t { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); } table.t thead th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border); letter-spacing: .04em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; } table.t tbody td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; } table.t tbody tr:last-child td { border-bottom: 0; } table.t tbody tr { cursor: pointer; } table.t tbody tr:hover { background: var(--bg-soft); } /* ─── Placeholder thumb ─── */ .placeholder { background: repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 12px), var(--bg-soft); border: 1px solid var(--border-soft); display: grid; place-items: center; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em; user-select: none; overflow: hidden; position: relative; text-align: center; padding: 6px; } .placeholder .ph-frame { background: rgba(255, 255, 255, 0.92); border: 1px solid var(--border); padding: 3px 8px; font-size: 12px; color: var(--ink-2); font-weight: 500; } /* ─── Toast ─── */ .toast { position: fixed; bottom: 24px; right: 24px; background: var(--card); border: 1px solid var(--border); padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 20px rgba(21, 20, 15, 0.06); transform: translateX(420px); transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 1000; min-width: 240px; } .toast.show { transform: translateX(0); } .toast .ic-t { width: 24px; height: 24px; background: var(--orange-tint); color: var(--orange); border: 1px solid var(--orange-soft); display: grid; place-items: center; flex-shrink: 0; } .toast .ic-t svg { width: 12px; height: 12px; } .toast .txt { font-size: 13px; color: var(--ink); } .toast .txt .mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); display: block; margin-top: 2px; letter-spacing: .02em; } /* ─── Modal ─── */ .modal-bg { position: fixed; inset: 0; background: rgba(21, 20, 15, .42); display: none; align-items: center; justify-content: center; z-index: 999; opacity: 0; transition: opacity .2s; } .modal-bg.show { display: flex; opacity: 1; } .modal { background: var(--card); border: 1px solid var(--border); max-width: 480px; width: 90%; position: relative; transform: scale(.96); transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1); } .modal-bg.show .modal { transform: scale(1); } .modal::before, .modal::after { content: '+'; position: absolute; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1; } .modal::before { top: -8px; left: -8px; } .modal::after { bottom: -8px; right: -8px; } .modal .corner-tr, .modal .corner-bl { position: absolute; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1; } .modal .corner-tr { top: -8px; right: -8px; } .modal .corner-bl { bottom: -8px; left: -8px; } .modal-h { padding: 20px 24px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; } .modal-h .ic-m { width: 36px; height: 36px; background: var(--orange-tint); color: var(--orange); border: 1px solid var(--orange-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .modal-h .ic-m svg { width: 17px; height: 17px; } .modal-h .ti { font-size: 15px; font-weight: 600; } .modal-h .ti span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); font-weight: 400; margin-top: 3px; letter-spacing: .02em; } .modal-b { padding: 18px 24px; font-size: 13px; color: var(--ink-2); line-height: 1.7; } .modal-b .mono-acc { font-family: 'JetBrains Mono', monospace; color: var(--orange); background: var(--orange-tint); padding: 1px 5px; font-size: 12px; border-radius: 3px; } .modal-f { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; } /* ─── Drawer ─── */ .drawer-bg { position: fixed; inset: 0; background: rgba(21, 20, 15, .32); display: none; z-index: 90; } .drawer-bg.show { display: block; } .drawer { position: fixed; right: 0; top: 0; bottom: 0; width: 540px; max-width: 100vw; background: var(--card); border-left: 1px solid var(--border); z-index: 95; transform: translateX(100%); transition: transform .25s cubic-bezier(.32, .72, 0, 1); display: flex; flex-direction: column; } .drawer.show { transform: translateX(0); } .drawer-h { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; } .drawer-h h3 { font-size: 16px; font-weight: 600; } .drawer-h .x { margin-left: auto; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; } .drawer-h .x:hover { background: var(--bg-soft); color: var(--ink); } .drawer-b { padding: 20px 24px; overflow-y: auto; flex: 1; } .drawer-f { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; background: var(--bg-soft); } /* ─── Scrollbar ─── */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--ink-3); } /* ─── Responsive ─── */ @media (max-width: 1100px) { .app { grid-template-columns: 1fr; } aside.sidebar { display: none; } .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); } .content { padding: 24px; } } /* ─── Spinner ─── */ .spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ─── React implementation: keeps the v1 visual language while binding real data ─── */ nav button { display: flex; align-items: center; gap: 11px; padding: 8px 12px; color: var(--ink-2); font-size: 14px; font-weight: 500; border-radius: 7px; cursor: pointer; user-select: none; width: 100%; text-align: left; } nav button:hover { background: var(--bg-soft); color: var(--ink); } nav button.active { background: var(--orange-tint); color: var(--orange); } nav button svg { width: 14px; height: 14px; color: var(--ink-3); } .crumbs button { color: var(--ink-3); } .crumbs button:hover { color: var(--ink); } .inline-toast { position: fixed; top: 76px; right: 48px; z-index: 60; max-width: 400px; background: var(--card); border: 1px solid var(--border); padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 28px rgba(21, 20, 15, 0.12); animation: toast-in .18s ease-out; } @keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } } .inline-toast .ic-t { width: 24px; height: 24px; background: var(--orange-tint); color: var(--orange); border: 1px solid var(--orange-soft); display: grid; place-items: center; flex-shrink: 0; } .inline-toast .txt { font-size: 13px; color: var(--ink); } .inline-toast .txt .mono { font-size: 12px; color: var(--ink-3); display: block; margin-top: 2px; letter-spacing: .02em; } .inline-toast.success .ic-t { background: var(--green-bg); color: var(--green); border-color: var(--green-bd); } .inline-toast.error .ic-t { background: var(--red-bg); color: var(--red); border-color: var(--red-bd); } .auth-layout { min-height: 100vh; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(320px, 1fr) 420px; gap: 48px; align-items: center; padding: 64px; background: var(--bg); } .auth-hero, .auth-panel { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--border); } .auth-hero { padding: 40px; } .auth-hero h1 { font-size: 42px; line-height: 1.1; letter-spacing: -.018em; margin-top: 12px; } .auth-hero p { color: var(--ink-2); margin-top: 10px; font-size: 15px; } .auth-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; } .auth-flow span { padding: 8px 12px; border: 1px solid var(--border); background: var(--bg-soft); font-size: 13px; } .auth-panel { padding: 28px; } .auth-panel .btn-primary { width: 100%; } .form-error { color: var(--red); background: var(--red-bg); border: 1px solid var(--red-bd); padding: 10px 12px; margin-bottom: 14px; font-size: 13px; } /* ─── Exact design parity: 电商AI平台/login.html ─── */ .auth-exact-page { --background-base: #f9f9f9; --background-lighter: #fbfbfb; --surface: #ffffff; --surface-raised: #ffffff; --border-faint: #ededed; --border-muted: #e8e8e8; --border-loud: #e6e6e6; --accent-black: #262626; --accent-white: #ffffff; --accent-amethyst: #9061ff; --accent-bluetron: #2a6dfb; --accent-crimson: #eb3424; --accent-forest: #42c366; --accent-honey: #ecb730; --heat: #fa5d19; --heat-12: rgba(250, 93, 25, .12); --black-alpha-32: rgba(38, 38, 38, .32); --black-alpha-48: rgba(38, 38, 38, .48); --black-alpha-56: rgba(38, 38, 38, .56); --r-sm: 4px; --r-md: 8px; --font-sans: 'Inter', 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; --font-mono: 'Inter', 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; --t-base: 200ms ease; min-height: 100vh; background: var(--background-base); display: grid; place-items: center; padding: 32px 24px; color: var(--accent-black); font-family: var(--font-sans); font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; position: relative; } .auth-exact-page .auth-wrap { width: 100%; max-width: 980px; display: flex; align-items: stretch; gap: 0; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); position: relative; overflow: hidden; height: 560px; min-height: 560px; } .auth-exact-page .auth-wrap::before, .auth-exact-page .auth-wrap::after, .auth-exact-page .auth-wrap > .corner-tr, .auth-exact-page .auth-wrap > .corner-bl { content: ''; position: absolute; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='%23e8e8e8'%3E%3Cpath d='M10.5 4C10.5 7.31371 7.81371 10 4.5 10H0.5V11H4.5C7.81371 11 10.5 13.6863 10.5 17V21H11.5V17C11.5 13.6863 14.1863 11 17.5 11H21.5V10H17.5C14.1863 10 11.5 7.31371 11.5 4V0H10.5V4Z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; pointer-events: none; z-index: 2; } .auth-exact-page .auth-wrap::before { top: -7px; left: -7px; } .auth-exact-page .auth-wrap::after { bottom: -7px; right: -7px; } .auth-exact-page .auth-wrap > .corner-tr { top: -7px; right: -7px; } .auth-exact-page .auth-wrap > .corner-bl { bottom: -7px; left: -7px; } .auth-exact-page .auth-brand { background: var(--accent-black); color: var(--accent-white); padding: 40px 44px; display: flex; flex-direction: column; flex: 0 0 calc(100% - 420px); width: calc(100% - 420px); align-self: stretch; box-sizing: border-box; min-height: 0; position: relative; overflow: hidden; } .auth-exact-page .auth-brand .logo { display: flex; align-items: center; height: 56px; } .auth-exact-page .auth-brand .logo-img { display: block; width: 196px; height: auto; margin: -14px 0 -10px -14px; object-fit: contain; } .auth-exact-page .auth-brand .tag { font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, .5); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; } .auth-exact-page .auth-brand .hero { margin-top: auto; margin-bottom: auto; } .auth-exact-page .auth-brand .hero h1 { font-size: 36px; font-weight: 500; letter-spacing: -.024em; line-height: 1.2; margin: 0 0 14px; } .auth-exact-page .auth-brand .hero h1 .h { color: var(--heat); } .auth-exact-page .auth-brand .hero p { font-size: 14px; color: rgba(255, 255, 255, .62); line-height: 1.65; max-width: 320px; margin: 0; } .auth-exact-page .auth-brand .foot { font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, .32); letter-spacing: .04em; margin-top: 22px; display: flex; gap: 14px; } .auth-exact-page .auth-brand .foot a { color: rgba(255, 255, 255, .5); text-decoration: none; } .auth-exact-page .auth-brand .foot a:hover { color: var(--heat); } .auth-exact-page .auth-form { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; padding: 44px 44px 36px; display: flex; flex-direction: column; box-sizing: border-box; height: auto; min-height: 0; } .auth-exact-page .auth-form .h-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 0; } .auth-exact-page .auth-form h2 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin: 0; } .auth-exact-page .auth-form .sub { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .06em; text-transform: none; } .auth-exact-page .auth-form form { display: flex; flex: 1; flex-direction: column; margin-top: 32px; min-height: 0; } .auth-exact-page .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; } .auth-exact-page .field-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--black-alpha-56); font-family: var(--font-mono); letter-spacing: .02em; } .auth-exact-page .field-label .req { color: var(--accent-crimson); margin-left: 2px; } .auth-exact-page .field-input-wrap { position: relative; } .auth-exact-page .field-input-wrap .ic-l { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 16px; height: 16px; pointer-events: none; } .auth-exact-page .field input { width: 100%; box-sizing: border-box; padding: 11px 44px 11px 36px; font-size: 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); font-family: inherit; color: var(--accent-black); transition: border-color var(--t-base), box-shadow var(--t-base); } .auth-exact-page .field input:focus { outline: none; border-color: var(--heat); box-shadow: 0 0 0 3px var(--heat-12); } .auth-exact-page .field input::placeholder { color: var(--black-alpha-32); } .auth-exact-page .field input::-ms-reveal, .auth-exact-page .field input::-ms-clear { display: none; } .auth-exact-page .field.has-error input { border-color: var(--accent-crimson); background: var(--crimson-bg); } .auth-exact-page .field.has-error input:focus { border-color: var(--accent-crimson); box-shadow: 0 0 0 3px var(--crimson-bg); } .auth-exact-page .field .toggle-pwd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; color: var(--ink-3); cursor: pointer; background: transparent; border: 0; padding: 0; display: grid; place-items: center; border-radius: var(--r-md); } .auth-exact-page .field .toggle-pwd:hover { color: var(--ink-3); background: var(--black-alpha-4); } .auth-exact-page .field .toggle-pwd.active { color: var(--ink-3); background: transparent; } .auth-exact-page .field .toggle-pwd svg { width: 18px; height: 18px; stroke-width: 1.5; } .auth-exact-page .row-between { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; font-size: 13px; } .auth-exact-page .row-between label { display: inline-flex; align-items: center; gap: 6px; color: var(--black-alpha-56); cursor: pointer; user-select: none; } .auth-exact-page .row-between label input { width: 13px; height: 13px; accent-color: var(--heat); } .auth-exact-page .row-between a { color: var(--heat); text-decoration: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; } .auth-exact-page .row-between a:hover { text-decoration: underline; } .auth-exact-page .auth-submit-zone { position: absolute; top: 426px; right: 44px; bottom: auto; z-index: 1; width: 332px; margin: 0; padding-top: 48px; } .auth-exact-page .btn-cta { width: 100%; height: 48px; background: var(--heat); color: var(--accent-white); border: 1px solid var(--heat); border-radius: var(--r-md); padding: 0 14px; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; font-family: inherit; transition: box-shadow var(--t-base), transform var(--t-base); display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .auth-exact-page .btn-cta:hover { box-shadow: 0 4px 14px rgba(250, 93, 25, .28); } .auth-exact-page .btn-cta:active { transform: translateY(1px); } .auth-exact-page .btn-cta:disabled { opacity: .82; cursor: wait; } .auth-exact-page .btn-cta .busy-copy { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; } .auth-exact-page .form-error { color: var(--accent-crimson); background: var(--crimson-bg); border: 1px solid var(--crimson-bd); border-radius: var(--r-md); padding: 9px 11px; margin: 0; font-size: 13px; position: absolute; top: 0; left: 0; right: 0; } .auth-exact-page .login-progress { color: var(--accent-black); background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 9px 11px; margin: 0; font-size: 13px; line-height: 1.4; position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; } .auth-exact-page .login-progress-spinner { width: 16px; height: 16px; border: 2px solid var(--border-loud); border-top-color: var(--heat); border-radius: 50%; flex: 0 0 16px; animation: spin .8s linear infinite; } .auth-exact-page .login-toast { position: fixed; left: 50%; top: 32px; transform: translateX(-50%); background: var(--surface-raised); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-floating); display: flex; flex-direction: column; gap: 3px; z-index: 9999; width: min(360px, calc(100vw - 48px)); font-family: inherit; font-size: 13px; font-weight: 600; color: var(--accent-black); line-height: 1.45; overflow: hidden; } .auth-exact-page .login-toast::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--heat); } .auth-exact-page .login-toast span { font-size: 12px; color: var(--black-alpha-48); font-family: var(--font-mono); letter-spacing: .04em; font-weight: 400; } /* lead 引导文案 + mono 副标(登录补、注册自带) */ .auth-exact-page .auth-form .lead { font-size: 13px; color: var(--black-alpha-56); margin: 0 0 22px; line-height: 1.6; } .auth-exact-page.auth-login-page .auth-form .lead { margin: 0 0 20px; } /* OR 分割线 + 第三方 SSO(登录页) */ .auth-exact-page .divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; } .auth-exact-page .divider .line { flex: 1; height: 1px; background: var(--border-faint); } .auth-exact-page .divider .txt { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-32); letter-spacing: .08em; text-transform: uppercase; } .auth-exact-page .sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .auth-exact-page .sso-btn { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 10px 12px; font-size: 13px; color: var(--accent-black); cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: border-color var(--t-base); } .auth-exact-page .sso-btn:hover { border-color: var(--black-alpha-32); } .auth-exact-page .sso-btn svg { width: 14px; height: 14px; } /* 登录 / 注册切换行 */ .auth-exact-page .switch-row { margin-top: 18px; text-align: center; font-size: 13px; color: var(--black-alpha-56); } .auth-exact-page .switch-row a { color: var(--heat); text-decoration: none; font-weight: 500; } .auth-exact-page .switch-row a:hover { text-decoration: underline; } /* ── 注册态:表单更宽 + 自然流(不再绝对定位 .auth-form) ── */ .auth-exact-page.auth-register-page .auth-wrap { height: auto; min-height: 620px; align-items: stretch; } .auth-exact-page.auth-register-page .auth-brand { flex: 0 0 calc(100% - 460px); width: calc(100% - 460px); } .auth-exact-page.auth-register-page .auth-form { position: static; width: 460px; flex: 0 0 460px; height: auto; min-height: 0; align-self: stretch; padding: 40px 44px 32px; } .auth-exact-page.auth-register-page .auth-form form { flex: 0 0 auto; margin-top: 22px; } .auth-exact-page.auth-register-page .auth-form .h-row { gap: 6px; } .auth-exact-page.auth-register-page .auth-form h2 { font-size: 24px; } /* 注册:品牌区顶对齐 hero + 价值点列表 */ .auth-exact-page .auth-brand .hero.hero-top { margin-top: 26px; margin-bottom: 0; } .auth-exact-page .auth-brand .hero.hero-top h1 { font-size: 28px; } .auth-exact-page .val-list { margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; } .auth-exact-page .val-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; } .auth-exact-page .val-item .ic-v { width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-sm); display: grid; place-items: center; color: var(--heat); } .auth-exact-page .val-item .ic-v svg { width: 12px; height: 12px; } .auth-exact-page .val-item .txt-v { font-size: 13px; color: rgba(255, 255, 255, .78); line-height: 1.5; } .auth-exact-page .val-item .txt-v b { color: var(--accent-white); font-weight: 600; } /* 注册:label 行尾提示 + 双列密码 + 邀请码动态提示 + 协议勾选 */ .auth-exact-page .field-label .hint { margin-left: auto; font-size: 11.5px; font-weight: 400; color: var(--black-alpha-32); } .auth-exact-page .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; } .auth-exact-page .field-row .field { margin-bottom: 0; } .auth-exact-page .field-note { margin: 7px 0 0; font-size: 12px; color: var(--black-alpha-48); font-family: var(--font-mono); letter-spacing: .02em; } /* 注册码优先:验码行(输入 + 验证按钮)+ 状态提示 + 只读团队名 */ .auth-exact-page .invite-verify-row { display: flex; align-items: stretch; gap: 8px; } .auth-exact-page .invite-verify-row .field-input-wrap { flex: 1; } .auth-exact-page .invite-verify-btn { flex-shrink: 0; height: auto; align-self: stretch; padding: 0 18px; white-space: nowrap; } .auth-exact-page .field-note.ok { color: var(--accent-forest); display: inline-flex; align-items: center; gap: 5px; } .auth-exact-page .field-note.err { color: var(--accent-crimson); } .auth-exact-page .field-input-wrap.is-readonly input { background: var(--black-alpha-4); color: var(--black-alpha-56); cursor: default; } .auth-exact-page .agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--black-alpha-56); line-height: 1.6; margin: 8px 0 18px; cursor: pointer; user-select: none; } .auth-exact-page .agree input { margin-top: 3px; width: 13px; height: 13px; accent-color: var(--heat); flex-shrink: 0; } .auth-exact-page .agree a { color: var(--heat); text-decoration: none; } .auth-exact-page .agree a:hover { text-decoration: underline; } .auth-exact-page .agree.has-error a { color: var(--accent-crimson); } /* 注册:CTA / 提示在表单内自然流(不借用 .auth-submit-zone 的绝对定位) */ .auth-exact-page.auth-register-page .btn-cta { margin-top: 4px; } .auth-exact-page.auth-register-page .form-error, .auth-exact-page.auth-register-page .login-progress { position: static; margin: 0 0 12px; } /* ── 登录态:加了 OR / 第三方 / 切换行后内容变高,改自然流让卡片随内容长高 ── */ .auth-exact-page.auth-login-page .auth-wrap { height: auto; min-height: 560px; align-items: stretch; } .auth-exact-page.auth-login-page .auth-brand { flex: 0 0 calc(100% - 420px); width: calc(100% - 420px); } .auth-exact-page.auth-login-page .auth-form { position: static; width: 420px; flex: 0 0 420px; height: auto; min-height: 0; align-self: stretch; } .auth-exact-page.auth-login-page .auth-form form { flex: 0 0 auto; margin-top: 24px; } .auth-exact-page.auth-login-page .auth-submit-zone { position: static; width: auto; margin: 0; padding-top: 0; } .auth-exact-page.auth-login-page .form-error, .auth-exact-page.auth-login-page .login-progress { position: static; margin: 0 0 12px; } @media (max-width: 820px) { .auth-exact-page .auth-wrap { flex-direction: column; height: auto; min-height: 0; } .auth-exact-page .auth-brand { padding: 32px 28px; } .auth-exact-page .auth-form { position: static; flex: 0 0 auto; width: auto; height: auto; padding: 32px 28px; } .auth-exact-page .auth-submit-zone { position: relative; top: auto; right: auto; bottom: auto; width: auto; margin-top: auto; } .auth-exact-page.auth-register-page .auth-brand, .auth-exact-page.auth-register-page .auth-form { flex: 0 0 auto; width: auto; } .auth-exact-page.auth-register-page .val-list { display: none; } .auth-exact-page.auth-register-page .auth-form { padding: 32px 28px; } } /* Dashboard 区类(.dash-grid/.dash-side/.recent-row/.shortcut/.tip)已迁入 design-restraint.css §Dashboard,并把暖米旧 token 换成 restraint token(清双主题污染)。*/ /* Product / asset grids */ .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; } .product-card { background: var(--card); border: 1px solid var(--border); cursor: pointer; transition: background .15s; } .product-card:hover { background: var(--bg-soft); border-color: var(--ink-3); } .product-thumb { aspect-ratio: 1.4 / 1; } .product-body { padding: 14px; } .product-name { font-size: 14px; font-weight: 600; color: var(--ink); } .product-meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; } .product-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; } .tag-chip { font-size: 12px; padding: 2px 8px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--border); } .product-card.add { border: 1px dashed var(--border); background: transparent; display: grid; place-items: center; min-height: 220px; color: var(--ink-2); gap: 8px; padding: 16px; } .product-card.add:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-tint); } .product-card.add .plus-ic { width: 36px; height: 36px; border: 1px solid currentColor; display: grid; place-items: center; } .upload-zone { border: 1px dashed var(--border); padding: 24px; text-align: center; background: var(--bg-soft); color: var(--ink-2); font-size: 13px; } .upload-zone strong { color: var(--orange); font-weight: 600; } .file-input { padding: 6px 10px; height: auto; } .asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; } .asset-card { background: var(--card); border: 1px solid var(--border); cursor: pointer; transition: background .15s; } .asset-card:hover { background: var(--bg-soft); border-color: var(--ink-3); } .asset-thumb { aspect-ratio: 1; } /* width:100% 必须显式给:否则 max-height 会经 aspect-ratio 把宽度也钳到 157.5px,卡片右侧露白 */ .asset-card.video .asset-thumb { width: 100%; aspect-ratio: 9/16; max-height: 280px; } .asset-body { padding: 10px 12px; } .asset-name { font-size: 13px; font-weight: 600; } .asset-meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; } /* Projects */ .proj-name-cell { display: flex; align-items: center; gap: 12px; } .proj-thumb { width: 40px; height: 52px; flex-shrink: 0; } .proj-name { font-weight: 600; color: var(--ink); font-size: 14px; } .proj-sub { font-size: 12px; color: var(--ink-3); margin-top: 3px; font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; } .view-toggle { display: inline-flex; border: 1px solid var(--border); } .view-toggle button { padding: 6px 12px; background: var(--card); color: var(--ink-2); font-size: 12px; border-right: 1px solid var(--border); height: 32px; cursor: pointer; display: flex; align-items: center; gap: 5px; } .view-toggle button:last-child { border-right: 0; } .view-toggle button.active { background: var(--orange-tint); color: var(--orange); font-weight: 600; } .result-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); margin-bottom: 14px; letter-spacing: .04em; } .result-meta .count { color: var(--orange); font-weight: 600; } /* Pipeline */ /* Account / supplemental pages */ .acc-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; } /* 旧全局 account 样式(.balance-banner / .recharge-*)已移除 —— account 页改用 account-page.css 的 .account-page 作用域版本,避免 margin/padding 泄漏导致顶部卡片高差 */ .usage-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; } .usage-line .v { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; } .usage-bar { height: 4px; background: var(--bg-soft); border-radius: 2px; margin: 6px 0 12px; overflow: hidden; } .usage-bar > span { display: block; height: 100%; } .rule-list { font-size: 13px; color: var(--ink-2); line-height: 1.7; } .bills .neg { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; } .bills .pos { color: var(--green); font-variant-numeric: tabular-nums; font-weight: 500; } .team-grid, .settings-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; } .factory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; } .opt-card { border: 1px solid var(--border); padding: 14px; background: var(--card); cursor: pointer; position: relative; display: flex; flex-direction: column; min-width: 0; text-align: left; } .opt-card:hover { background: var(--bg-soft); } .opt-card h4 { font-size: 13px; font-weight: 600; } .opt-card .sub { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); margin-top: 3px; letter-spacing: .02em; } .opt-card .note { font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; } .opt-card .badge { font-family: 'JetBrains Mono', monospace; font-size: 12px; padding: 1px 6px; background: var(--card); border: 1px solid var(--border); color: var(--ink-3); display: inline-block; margin-top: 8px; letter-spacing: .04em; align-self: flex-start; } .theme-pill { display: inline-flex; gap: 4px; height: 28px; align-items: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 13px; cursor: pointer; color: var(--ink-2); } .theme-pill.active { background: var(--orange-tint); color: var(--orange); border-color: var(--orange-soft); font-weight: 600; } .drawer-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; } @media (max-width: 1100px) { .auth-layout, .dash-grid, .stage-script, .stage-assets, .stage-storyboard, .acc-grid, .team-grid, .settings-grid, .factory-grid { grid-template-columns: 1fr; } .stepper { overflow-x: auto; } .stage-line { min-width: 20px; } } /* ─── Added parity pages: wizard / detail / tools / ops ─── */ .wizard { display: grid; grid-template-columns: 200px minmax(0, 1fr) 300px; gap: 36px; align-items: start; max-width: 1400px; } .steps { position: sticky; top: 24px; align-self: start; } .step { display: flex; gap: 12px; padding: 12px 0; position: relative; } .step:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 36px; width: 1px; height: calc(100% - 24px); background: var(--border); } .step .num { width: 24px; height: 24px; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-3); flex-shrink: 0; z-index: 1; font-family: 'JetBrains Mono', monospace; } .step.active .num, .step.done .num { background: var(--orange); border-color: var(--orange); color: #FFF; } .step .label { font-size: 14px; font-weight: 500; color: var(--ink-2); padding-top: 2px; } .step .desc { font-size: 12px; color: var(--ink-3); padding-top: 3px; line-height: 1.4; font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; } .step.active .label { color: var(--ink); font-weight: 600; } .wiz-pane { background: var(--card); border: 1px solid var(--border); padding: 22px 24px; margin-bottom: 14px; } .wiz-pane.active { padding: 26px 28px; position: relative; } .wiz-pane.active::before, .wiz-pane.active::after, .wiz-preview::before, .wiz-preview::after { content: '+'; position: absolute; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1; } .wiz-pane.active::before, .wiz-preview::before { top: -8px; left: -8px; } .wiz-pane.active::after, .wiz-preview::after { bottom: -8px; right: -8px; } .wiz-step-h { margin-bottom: 18px; } .wiz-step-h h2 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; } .wiz-step-h p { font-size: 13px; color: var(--ink-2); margin-top: 6px; } .wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); flex-wrap: wrap; } .wiz-preview { position: sticky; top: 24px; background: var(--card); border: 1px solid var(--border); padding: 18px; } .pv-h { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 12px; text-transform: uppercase; display: flex; justify-content: space-between; } .pv-h .live { display: inline-flex; align-items: center; gap: 5px; color: var(--orange); } .pv-h .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } } .pv-title { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 14px; } .pv-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 14px; } .pv-metric { padding: 10px 12px; background: var(--card); } .pv-metric .l { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; } .pv-metric .v { font-size: 18px; font-weight: 600; margin-top: 3px; font-variant-numeric: tabular-nums; color: var(--ink); } .pv-metric .v small { font-size: 12px; color: var(--ink-3); font-weight: 500; } .pv-metric.accent .v { color: var(--orange); } .pv-section { margin-top: 14px; } .pv-section .lbl { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; } .pv-flow { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--ink-2); align-items: center; line-height: 1.7; } .pv-flow .node { padding: 2px 7px; background: var(--bg-soft); border: 1px solid var(--border-soft); color: var(--ink); font-weight: 500; } .pv-flow .arrow { color: var(--orange); margin: 0 5px; font-family: 'JetBrains Mono', monospace; } .pv-list { list-style: none; padding: 0; margin: 0; } .pv-list li { font-size: 12px; color: var(--ink-2); padding: 4px 0; display: flex; align-items: center; gap: 6px; } .pv-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); } .pv-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; } .pv-foot strong { color: var(--ink); font-weight: 500; } .create-product-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) 300px; gap: 24px; align-items: start; } .create-upload-zone { padding: 22px; position: sticky; top: 24px; } .upload-stage { min-height: 220px; border: 1px dashed var(--border); background: var(--bg-soft); display: grid; place-items: center; text-align: center; gap: 8px; color: var(--ink-2); margin: 14px 0; padding: 20px; } .upload-stage strong { color: var(--ink); font-size: 15px; } .upload-stage span { font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--ink-3); } .upload-grid-mini, .ov-images-grid, .asset-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .upload-grid-mini .placeholder { aspect-ratio: 1; } .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } /* 商品详情页旧全局块已移除 · 详情页样式整段 scope 进 src/product-detail-page.css 的 .product-detail-page */ .icon-btn-sm { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--card); color: var(--ink-2); display: inline-grid; place-items: center; border-radius: 7px; margin-left: 4px; } .icon-btn-sm:hover { background: var(--bg-soft); color: var(--ink); } .project-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; } .proj-card { border: 1px solid var(--border); background: var(--card); cursor: pointer; } .proj-card:hover { background: var(--bg-soft); } .proj-card-thumb { aspect-ratio: 9/12; max-height: 220px; } .proj-card-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; } .product-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; } .product-pick { border: 1px solid var(--border); background: var(--card); padding: 10px; display: grid; gap: 8px; text-align: left; } .product-pick .placeholder { aspect-ratio: 4/3; } .product-pick strong { font-size: 13px; } .product-pick span { font-size: 12px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; } .product-pick.selected { border-color: var(--orange); background: var(--orange-tint); } .top-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 24px; align-items: stretch; margin-bottom: 18px; } .balance-hero .v { font-size: 46px; } .balance-sub { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.16); margin-top: 20px; padding-top: 18px; gap: 18px; } .balance-sub .v { font-size: 20px; margin-top: 4px; } .balance-foot { margin-top: 18px; } .balance-meter { height: 6px; background: rgba(255,255,255,.16); overflow: hidden; } .balance-meter span { display: block; height: 100%; width: 5.4%; background: var(--orange); } .balance-foot-meta { display: flex; justify-content: space-between; margin-top: 8px; color: rgba(255,255,255,.58); font-size: 12px; font-family: 'JetBrains Mono', monospace; } .topup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .topup-head .desc, .stage-pane .desc { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; margin-top: 3px; } .topup-selected { color: var(--orange); background: var(--orange-tint); border: 1px solid var(--orange-soft); padding: 4px 9px; font-family: 'JetBrains Mono', monospace; font-size: 12px; } .pay-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); } .pay-title { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; } .pay-btn-row { display: flex; gap: 8px; } .billing-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 18px 0; overflow-x: auto; } .billing-tabs .tab { padding: 10px 14px; border-bottom: 2px solid transparent; color: var(--ink-2); } .billing-tabs .tab.active { color: var(--orange); border-bottom-color: var(--orange); font-weight: 600; } .overview-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; } .rule-pane { grid-column: 1 / -1; } .trend-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; } .bars { height: 180px; display: flex; align-items: end; gap: 6px; padding: 12px; background: var(--bg); border: 1px solid var(--border); } .bars span { flex: 1; min-height: 18px; background: var(--orange-tint); border: 1px solid var(--orange-soft); } .trend-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 12px; } .trend-foot .item { background: var(--card); padding: 10px; } .trend-foot .k { color: var(--ink-3); display: block; font-size: 12px; } .trend-foot .v { font-weight: 600; font-variant-numeric: tabular-nums; } .billing-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); } .billing-table th, .billing-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; } .billing-table th { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-soft); } .topup-modal .topup-info { text-align: center; color: var(--ink-3); } .topup-modal .topup-amt { text-align: center; font-size: 34px; font-weight: 600; color: var(--ink); margin: 4px 0; } .topup-note { text-align: center; color: var(--orange); font-family: 'JetBrains Mono', monospace; font-size: 12px; } .topup-qr { width: 180px; height: 180px; margin: 18px auto; background: repeating-linear-gradient(45deg, var(--ink) 0 4px, #fff 4px 8px); border: 8px solid #fff; display: grid; place-items: center; } .topup-qr .center { background: #fff; padding: 12px; text-align: center; font-weight: 600; } .topup-qr .center span { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; } /* 团队页旧全局块已移除 · 详见 src/team-page.css 的 .team-page 作用域。保留通用 .av(app-shell/account/dashboard 在用)。 */ .av { width: 28px; height: 28px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; } .invite-modal { max-width: 620px; } .limit-presets, .role-choices { display: flex; flex-wrap: wrap; gap: 8px; } .role-choice { flex: 1; min-width: 140px; border: 1px solid var(--border); padding: 12px; background: var(--card); text-align: left; } .role-choice.selected { border-color: var(--orange); background: var(--orange-tint); } .role-choice .title { font-weight: 600; } .role-choice .desc { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 12px; margin-top: 4px; } .cred-card { border: 1px solid var(--border); background: var(--bg); } .cred-row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); } .cred-row:last-child { border-bottom: 0; } .cred-row .ck { color: var(--ink-3); font-size: 12px; } .reset-pwd-warn { border: 1px solid var(--orange-soft); background: var(--orange-tint); color: var(--orange); padding: 10px 12px; margin-bottom: 12px; } .modal-x { margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; } .modal-x:hover { background: var(--bg-soft); } /* 消息中心样式统一由 messages-page.css(对齐 design 稿)提供;此处旧版 V1 .msg-* 规则 用的是 --ink/--orange/--bg-soft 旧 token,会漏样式(灰底标签、搜索框描边、记录分隔线),已移除。 */ /* 图片工具卡(.factory-*)旧版 V1 规则用的是 --card/--ink-3/JetBrains Mono 旧 token,会漏样式 (实测 .factory-body 的 align-items:center 漏进来把卡内容居中、宽卡里偏离左边老远), 现版样式全部由 ai-tools-page.css 的 .asset-factory .factory-* 提供、卡角由 design-restraint.css .with-corners 提供,故整块移除。 */ .tool-shell { margin: -36px -48px -60px; min-height: calc(100vh - 49px); display: flex; flex-direction: column; background: var(--bg); } .tool-topbar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--card); } .tool-topbar h1 { font-size: 18px; } .tool-topbar .sub { color: var(--ink-2); font-size: 13px; } .back-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--bg-soft); padding: 8px 12px; border-radius: 999px; } .tool-layout { flex: 1; display: grid; grid-template-columns: 240px minmax(0, 1fr) 320px; min-height: 0; } .tool-rail, .tool-side { border-right: 1px solid var(--border); background: var(--card); padding: 16px; overflow-y: auto; } .tool-side { border-right: 0; border-left: 1px solid var(--border); } .rail-h { font-weight: 600; margin-bottom: 12px; } .product-rail-list { display: grid; gap: 8px; margin-top: 12px; } .rail-product { display: grid; grid-template-columns: 42px 1fr; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--border); background: var(--card); text-align: left; } .rail-product .placeholder { aspect-ratio: 1; } .rail-product.active { border-color: var(--orange); background: var(--orange-tint); color: var(--orange); } .tool-canvas { padding: 18px; overflow-y: auto; } .tool-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; } .result-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .result-board.dense { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } .result-tile { border: 1px solid var(--border); background: var(--card); padding: 10px; text-align: left; } .result-tile.selected { border-color: var(--orange); background: var(--orange-tint); } .result-tile .placeholder { aspect-ratio: 1; } .result-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; } .candidate-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; } .tool-bottom-input { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--border); background: var(--card); } .tool-bottom-input .textarea { min-height: 44px; max-height: 92px; } .asset-mini-grid .placeholder { aspect-ratio: 1; } .demo-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 18px; } .settings-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 24px; align-items: start; } .settings-side { background: var(--card); border: 1px solid var(--border); padding: 10px; position: sticky; top: 24px; } .settings-side button { width: 100%; text-align: left; padding: 10px 12px; border-radius: 7px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; } .settings-side button.active { background: var(--orange-tint); color: var(--orange); font-weight: 600; } .logout-pill { margin-top: 10px; border-top: 1px solid var(--border); color: var(--red) !important; } .profile-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .av-big { width: 64px; height: 64px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 600; } .setting-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); } .setting-row:last-child { border-bottom: 0; } .setting-row strong { display: block; } .setting-row span { display: block; color: var(--ink-3); font-size: 12px; margin-top: 3px; } .switch { position: relative; display: inline-flex; width: 42px; height: 24px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; inset: 0; border-radius: 999px; background: var(--border); transition: .15s; } .slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .15s; } .switch input:checked + .slider { background: var(--orange); } .switch input:checked + .slider::before { transform: translateX(18px); } @media (max-width: 1180px) { .wizard, .create-product-layout, .product-detail-layout, .top-grid, .team-top, .tool-layout, .demo-layout, .settings-layout, .overview-grid { grid-template-columns: 1fr; } .wiz-preview, .steps, .create-upload-zone, .settings-side { position: static; } .tool-shell { margin: -24px -24px -60px; } .tool-side, .tool-rail { border: 1px solid var(--border); } .result-board { grid-template-columns: 1fr; } .banner-stats { grid-template-columns: repeat(2, 1fr); } }