* { box-sizing: border-box; } .login-layout { min-height: 75vh; display: flex; justify-content: center; align-items: center; gap: 70px; padding: 35px 20px; } .login-intro { max-width: 330px; }.login-intro h1 { font-size: 30px; margin-bottom: 25px; } .login-panel { width: 390px; min-height: auto !important; }.login-panel form > button { width: 100%; } .admin-session { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 6px 24px; background: #fff; border-bottom: 1px solid #ccc; font-size: 12px; } @media(max-width:760px) { .login-layout { flex-direction: column; gap: 20px; padding: 20px 12px; }.login-panel { width: 100%; }.login-intro h1 { margin-bottom: 8px; }.admin-session { flex-wrap: wrap; padding: 6px; } } :root { color-scheme: light; font-family: "Microsoft YaHei", sans-serif; color: #222; background: #ededed; font-size: 14px; line-height: 1.6; } body { margin: 0; } button, input, select, textarea { font: inherit; color: inherit; } button, .button { background: #fff; border: 1px solid #777; padding: 7px 12px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; } button:hover, .button:hover { background: #e9e9e9; } button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #222; outline-offset: 2px; } button:disabled { cursor: not-allowed; color: #777; border-color: #bbb; background: #eee; } .primary, button[aria-current="page"] { color: white; background: #333; border-color: #333; } .primary:hover { background: #555; } a { color: #222; text-underline-offset: 3px; } h1 { font-size: 23px; margin: 0; } h2 { font-size: 17px; margin: 0 0 12px; } h3 { font-size: 15px; margin: 0 0 8px; } p { margin: 7px 0 13px; } ul, ol { padding-left: 23px; } .review-header { background: #fafafa; border-bottom: 2px solid #555; padding: 14px 24px; } .review-header strong { font-size: 19px; }.review-header span { margin-left: 20px; } .review-header p, .muted { color: #626262; font-size: 12px; } #role-nav { display: flex; gap: 8px; flex-wrap: wrap; } .review-layout { display: block; width: 100%; } .review-sidebar { padding: 22px 16px; border-right: 1px solid #bbb; } .review-sidebar nav { display: grid; gap: 4px; margin-bottom: 22px; } .review-sidebar nav button { text-align: left; border-color: transparent; } .review-sidebar details { border-top: 1px solid #aaa; padding: 14px 0; } #scenario-nav { display: grid; gap: 6px; margin-top: 12px; } #scenario-nav button { text-align: left; font-size: 12px; } main { padding: 0 0 20px; min-width: 0; } .page-heading { display: none; } #page-code { margin: 0; color: #666; font-size: 12px; } #screen-scope { font-size: 12px; text-align: right; } #notice:not(:empty) { padding: 12px; border: 2px solid #555; background: white; margin-bottom: 16px; } .surface { background: #fff; border: 1px solid #888; padding: 20px; min-height: 470px; } .mobile { max-width: 414px; margin: 22px auto; padding: 0; min-height: 780px; display: flex; flex-direction: column; position: relative; } .mobile header { border-bottom: 1px solid #999; padding: 14px 16px; } .mobile header strong { display: block; font-size: 17px; } .mobile .content { padding: 16px; flex: 1; } .mobile footer { border-top: 1px solid #999; padding: 12px; display: flex; gap: 8px; } .mobile footer button { flex: 1; padding: 6px; } .box { border: 1px solid #aaa; padding: 14px; margin-bottom: 14px; background: #fff; } .box p:last-child { margin-bottom: 0; } .placeholder { border: 1px dashed #888; background: #f5f5f5; padding: 22px; text-align: center; margin-bottom: 14px; } .hint { padding: 10px 12px; border: 1px dashed #888; background: #f6f6f6; font-size: 13px; margin-bottom: 14px; } .tag { display: inline-block; border: 1px solid #888; padding: 1px 7px; margin: 0 5px 4px 0; font-size: 12px; } .actions, .tabs, .toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; align-items: center; } .actions:last-child { margin-bottom: 0; } .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .workspace { display: grid; grid-template-columns: 235px minmax(260px, 1fr) 270px; gap: 0; min-height: 620px; } .workspace section { min-width: 0; } .workspace .box { padding: 12px; } label { display: block; margin-bottom: 13px; } label input, label select, label textarea { display: block; width: 100%; margin-top: 5px; } input, select, textarea { padding: 8px; background: #fff; border: 1px solid #999; min-width: 0; } textarea { resize: vertical; min-height: 85px; } input[type="checkbox"], input[type="radio"] { display: inline-block; width: auto; margin-right: 7px; } .check { display: flex; align-items: flex-start; gap: 5px; } .check input { margin-top: 6px; } .table-wrap { overflow-x: auto; } table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 13px; } th, td { text-align: left; border: 1px solid #aaa; padding: 10px; vertical-align: top; } th { background: #eee; font-weight: normal; white-space: nowrap; } td button { padding: 4px 9px; } .message { padding: 12px; border: 1px solid #aaa; margin: 12px 25px 12px 0; } .message.customer { margin: 12px 0 12px 25px; background: #eee; } .message small { display: block; color: #666; margin-bottom: 4px; } .timeline li { padding-bottom: 12px; } .annotation { border-top: 1px dashed #aaa; margin: 25px auto 0; padding-top: 14px; max-width: 1060px; color: #555; } .annotation ul { margin-bottom: 0; } summary { cursor: pointer; } .empty { padding: 42px 18px; text-align: center; border: 1px dashed #aaa; } dialog { max-width: 460px; width: calc(100% - 32px); border: 2px solid #555; padding: 24px; } dialog::backdrop { background: #0005; } .steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; } .steps span { border-bottom: 2px solid #aaa; padding: 5px 8px; } @media (max-width: 1150px) { .workspace { grid-template-columns: 1fr 1fr; }.workspace > section:first-child { grid-column: 1 / -1; }.workspace > section:first-child .box { display: inline-block; margin-right: 10px; } } @media (max-width: 760px) { .review-layout { display: block; }.review-sidebar { border-right: 0; border-bottom: 1px solid #aaa; padding: 12px; }.review-sidebar nav { display: flex; flex-wrap: wrap; margin: 0; }.review-sidebar h2, .review-sidebar > .muted { display: none; }.review-sidebar details { margin: 8px 0; padding: 8px 0; }#scenario-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }main { padding: 16px 10px; }.review-header { padding: 12px; }.grid, .workspace { display: block; }.mobile { width: 100%; }.page-heading { align-items: flex-start; }.surface { padding: 14px; }.mobile { padding: 0; } } @media print { .review-header, .review-sidebar, #notice { display: none; }.review-layout { display: block; }main { padding: 0; }body { background: white; }.surface { min-height: auto; }.annotation { break-inside: avoid; } } /* 顶部只保留轻量的原型切换;页面内部使用产品自己的导航。 */ .review-header { padding: 8px 16px; border-bottom: 1px solid #aaa; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .review-header strong { font-size: 13px; }.review-header span { font-size: 11px; margin: 0 10px; } .review-header button { padding: 4px 9px; font-size: 12px; } .review-sidebar { position: fixed; z-index: 20; width: 260px; max-height: calc(100vh - 65px); overflow: auto; right: 12px; top: 62px; background: white; border: 1px solid #888; } [hidden] { display: none !important; } .admin-shell { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: calc(100vh - 66px); background: #f1f2f3; } .admin-sidebar { background: #26292c; color: #e3e3e3; } .admin-brand { padding: 20px 18px; font-size: 20px; border-bottom: 1px solid #555; }.admin-brand small { display: block; font-size: 11px; color: #bbb; } .nav-group { margin: 16px 0; }.nav-group p { font-size: 11px; margin: 0; padding: 0 18px 6px; color: #aaa; } .nav-group button { display: block; border: 0; background: transparent; color: #ddd; width: 100%; text-align: left; padding: 10px 20px; } .nav-group button[aria-current="page"] { background: #4d5257; color: #fff; border-left: 3px solid #eee; padding-left: 17px; } .nav-group button:hover { background: #41464b; } .admin-main { min-width: 0; }.admin-topbar { height: 58px; background: white; border-bottom: 1px solid #ddd; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; } .admin-topbar > div { display: flex; gap: 22px; align-items: center; }.admin-topbar span { font-size: 12px; } .admin-breadcrumb { font-size: 12px; padding: 12px 24px; color: #666; } .admin-tabs { background: #fff; border-block: 1px solid #ddd; padding: 7px 24px; }.admin-tabs span { padding: 6px 14px; border: 1px solid #bbb; display: inline-block; font-size: 12px; } .admin-content { padding: 20px 24px; }.admin-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }.admin-title h2 { margin: 0; font-size: 19px; }.admin-title > span { font-size: 12px; color: #666; } .admin-content > .surface { border: 1px solid #d0d0d0; padding: 20px; min-height: 560px; } .workspace > section { padding: 15px; border-right: 1px solid #ccc; }.workspace > section:last-child { border-right: 0; background: #f8f8f8; } .workspace > section:first-child { background: #f5f5f5; }.workspace > section:nth-child(2) { display: flex; flex-direction: column; }.workspace > section:nth-child(2) > form { margin-top: auto; border-top: 1px solid #ddd; padding-top: 14px; } .session-row { border: 0; border-bottom: 1px solid #ccc; padding: 14px 8px; background: #fff; text-align: left; width: 100%; }.session-row strong, .session-row small { display: block; }.session-row small { color: #666; }.session-row.active { background: #ddd; } .chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 490px; } .metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }.metric { background: #f6f6f6; border: 1px solid #ccc; padding: 16px; }.metric strong { display: block; font-size: 27px; margin: 8px 0; }.metric small { color: #777; } .chart-placeholder { min-height: 170px; display: grid; place-items: center; background: repeating-linear-gradient(0deg,#fff,#fff 33px,#ddd 34px); border: 1px solid #bbb; color: #666; } .device-status { display: flex; justify-content: space-between; padding: 5px 16px; font-size: 10px; background: #fafafa; } .mobile .mobile-header { padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }.mobile-header button { border: 0; padding: 3px; font-size: 12px; }.mobile .mobile-header strong { font-size: 15px; } .mobile .content { background: #f5f5f5; padding: 14px; padding-bottom: 75px; }.mobile .shop-tabs { background: #fff; position: sticky; bottom: 0; padding: 8px; }.shop-tabs button { border: 0; font-size: 12px; }.shop-tabs button[aria-current="page"] { background: #ddd; color: #111; } .shop-search { display: block; width: 100%; background: #fff; color: #777; border: 1px solid #bbb; border-radius: 20px; text-align: left; margin-bottom: 14px; } .shop-banner { padding: 24px 18px; background: #dedede; margin-bottom: 15px; min-height: 150px; }.shop-banner h2 { font-size: 22px; margin: 6px 0; } .shortcut-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 16px; }.shortcut { border: 0; background: transparent; font-size: 12px; padding: 8px 2px; }.shortcut-icon { display: block; border: 1px solid #999; background: #e5e5e5; width: 25px; height: 25px; margin: 0 auto 6px; border-radius: 6px; } .ai-entry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 15px; border: 1px solid #888; background: #fff; text-align: left; margin-bottom: 18px; }.ai-entry strong { width: 100%; }.ai-entry span { font-size: 12px; } .ai-float { position: absolute; right: 12px; bottom: 90px; border-radius: 24px; padding: 8px; width: 64px; background: #333; color: white; z-index: 2; }.ai-float strong, .ai-float span { display: block; }.ai-float span { font-size: 10px; }.ai-float:hover { color: #222; } .section-heading { display: flex; justify-content: space-between; align-items: center; margin: 15px 0; }.section-heading h2 { margin: 0; }.section-heading button { border: 0; background: transparent; font-size: 11px; } .goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.goods-card { display: block; padding: 0; border: 1px solid #ccc; text-align: left; width: 100%; }.goods-card > div:last-child { padding: 10px; }.goods-card p, .goods-card span { font-size: 11px; color: #666; } .goods-image { height: 125px; background: #e5e5e5; color: #777; display: flex; align-items: center; justify-content: center; flex-direction: column; border-bottom: 1px solid #ccc; }.goods-image small { font-size: 10px; }.product-hero { height: 240px; margin-bottom: 18px; } .catalog { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 12px; }.catalog nav button { display: block; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #ccc; background: #e7e7e7; } .profile-card { display: flex; gap: 16px; align-items: center; padding: 18px 0; }.profile-card p { font-size: 12px; }.avatar-placeholder { border: 1px solid #999; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #ddd; color: #666; } .order-shortcuts { display: grid; grid-template-columns: repeat(5,1fr); background: white; margin-bottom: 18px; padding: 10px 2px; }.order-shortcuts button { padding: 5px 0; font-size: 10px; border: 0; } .account-list button { display: block; width: 100%; text-align: left; padding: 13px; border: 0; border-bottom: 1px solid #ddd; } .cart-total,.purchase-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 14px 0; }.cart-total span { font-size: 12px; }.product-section { padding: 15px 0; border-bottom: 1px solid #ccc; }.product-section span { float: right; font-size: 12px; } .order-card { padding: 15px; background: #fff; border: 1px solid #ccc; margin: 12px 0; }.order-product { display: flex; gap: 15px; padding: 15px 0; }.order-product .goods-image { width: 75px; height: 75px; flex-shrink: 0; }.order-product p { font-size: 12px; margin: 2px 0; } @media (max-width: 1150px) { .admin-shell { grid-template-columns: 160px minmax(0,1fr); }.admin-content { padding: 14px; }.workspace { grid-template-columns: 200px minmax(0,1fr); }.workspace > section:first-child { grid-column: auto; }.workspace > section:last-child { grid-column: 1 / -1; }.metric-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 760px) { main { padding: 0; }.review-header { padding: 7px; }.review-header > div > span { display: none; }.admin-shell { grid-template-columns: 110px minmax(0,1fr); }.admin-brand { font-size: 15px; padding: 12px 8px; }.admin-brand small { font-size: 9px; }.nav-group button { padding: 9px 8px; font-size: 11px; }.nav-group p { padding-left: 8px; }.nav-group button[aria-current="page"] { padding-left: 5px; }.admin-topbar { padding: 8px; height: auto; display: block; font-size: 12px; }.admin-breadcrumb, .admin-tabs { padding: 8px; }.admin-content { padding: 8px; }.admin-content > .surface { padding: 8px; }.admin-title { display: block; }.admin-title h2 { font-size: 15px; }.admin-title > span { font-size: 10px; }.workspace { display: block; }.workspace > section { padding: 8px; }.metric-grid { grid-template-columns: 1fr; gap: 8px; }.mobile { margin: 8px auto; min-height: calc(100vh - 100px); }.review-sidebar { width: min(290px,calc(100vw - 24px)); }.review-sidebar nav { display: grid; }.review-sidebar h2 { display: block; }.review-sidebar #scenario-nav { grid-template-columns: 1fr; } }