@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } } .page { --ink: #20283a; --muted: #8790a2; --line: #e5e8ef; --blue: #3d6fe8; --blue-dark: #2d5dcc; --blue-soft: #edf3ff; min-height: 100vh; background: #f5f7fb; color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; } .page * { box-sizing: border-box; } .page button, .page input, .page select, .page textarea { font: inherit; } .topbar { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid #e3e7ee; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); } .brand { display: flex; align-items: center; gap: 9px; color: #20283a; text-decoration: none; } .brand > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg,#4778ed,#315cc8); color: #fff; font-family: Georgia,serif; font-size: 15px; box-shadow: 0 5px 12px rgba(50,91,199,.24); } .brand strong { font-size: 13px; letter-spacing: -.2px; } .topbar nav { height: 100%; display: flex; align-items: stretch; gap: 4px; margin-left: 42px; } .topbar nav a { position: relative; display: flex; align-items: center; padding: 0 14px; color: #8a92a1; text-decoration: none; font-size: 10px; } .topbar nav a:hover, .topbar nav .activeNav { color: #31415e; } .topbar nav .activeNav::after { content: ""; position: absolute; inset: auto 13px -1px; height: 2px; background: var(--blue); } .saveState { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #9098a7; font-size: 8px; } .saveState > i, .formFooter p > i { width: 6px; height: 6px; border-radius: 50%; background: #e5a94d; } .saveState .savedDot, .formFooter p > .savedDot { background: #31a670; } .headerActions { display: flex; align-items: center; gap: 7px; margin-left: 20px; } .headerActions button { height: 32px; padding: 0 12px; border: 1px solid #dfe3ea; border-radius: 7px; background: #fff; color: #616d80; cursor: pointer; font-size: 9px; } .headerActions button:hover { border-color: #b8c8e9; } .headerActions .saveButton { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 5px 13px rgba(61,111,232,.2); } .headerActions > span { width: 30px; height: 30px; display: grid; place-items: center; margin-left: 4px; border-radius: 50%; background: #dfe9ff; color: #315daa; font-size: 9px; font-weight: 700; } .workspace { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 256px minmax(0,1fr); } .sidebar { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; border-right: 1px solid #e2e6ed; background: #fff; } .sidebarTitle { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 19px; } .sidebarTitle p { margin: 0 0 3px; color: #7891cc; font-size: 6px; font-weight: 800; letter-spacing: 1.3px; } .sidebarTitle strong { font-size: 13px; } .sidebarTitle button { width: 30px; height: 30px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; cursor: pointer; font-size: 16px; } .search { height: 33px; display: flex; align-items: center; gap: 7px; margin: 0 14px 11px; padding: 0 9px; border: 1px solid #e1e5eb; border-radius: 7px; background: #f8f9fb; color: #9da5b2; } .search:focus-within { border-color: #9db7ef; background: #fff; box-shadow: 0 0 0 3px rgba(61,111,232,.07); } .search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 8px; } .statusTabs { display: flex; gap: 3px; padding: 0 13px 11px; border-bottom: 1px solid #eef0f3; overflow-x: auto; } .statusTabs button { padding: 5px 7px; border: 0; border-radius: 5px; background: none; color: #9aa1ad; cursor: pointer; font-size: 7px; white-space: nowrap; } .statusTabs .statusTabActive { background: var(--blue-soft); color: #3a67cf; font-weight: 700; } .formList { flex: 1; overflow-y: auto; padding: 9px; } .formList > button { width: 100%; display: flex; align-items: flex-start; gap: 9px; margin-bottom: 5px; padding: 11px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #5b6576; cursor: pointer; text-align: left; } .formList > button:hover { background: #f7f9fc; } .formList > .formActive { border-color: #d8e3fb; background: #f1f5ff; box-shadow: inset 3px 0 #4776e5; } .formIcon { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; background: #edf0f5; color: #7a879a; font-size: 12px; } .formActive .formIcon { background: #dfe9ff; color: #3d6bd5; } .formList > button > div { min-width: 0; flex: 1; } .formList strong { display: block; overflow: hidden; color: #3e4859; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; } .formList small { display: block; margin: 3px 0 7px; color: #a1a8b4; font-size: 6px; } .formList p { display: flex; align-items: center; gap: 4px; margin: 0; color: #8f97a5; font-size: 6px; } .formList p > i { width: 5px; height: 5px; border-radius: 50%; background: #9ca4b0; } .formList p > .recordEditing { background: #e6a23c; } .formList p > .recordSubmitted { background: #32a76f; } .formList p > .recordDraft { background: #929aa7; } .formList p > span { margin-left: 4px; padding-left: 6px; border-left: 1px solid #dfe2e8; } .formList time { margin-left: auto; } .noForms { padding: 35px 10px; color: #a1a7b2; font-size: 8px; text-align: center; } .sidebarFooter { padding: 10px 12px 13px; border-top: 1px solid #e9ebef; } .sidebarFooter button { width: 100%; display: block; padding: 8px; border: 0; border-radius: 6px; background: none; color: #717b8c; cursor: pointer; text-align: left; font-size: 8px; } .sidebarFooter button:hover { background: #f3f5f8; color: var(--blue); } .sidebarFooter p { margin: 9px 8px 0; color: #939ba8; font-size: 7px; line-height: 1.5; } .sidebarFooter p span { color: #b0b6bf; } .main { width: min(1120px,100%); margin: 0 auto; padding: 25px 32px 80px; } .breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 19px; color: #a1a8b4; font-size: 7px; } .breadcrumb a { color: #7b8aa3; text-decoration: none; } .breadcrumb strong { color: #657087; font-weight: 600; } .formHeader { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; } .titleGroup { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: 9px; } .titleGroup input { width: min(650px,65vw); padding: 0; border: 0; outline: 0; background: transparent; color: #1f293b; font-size: 24px; font-weight: 750; letter-spacing: -.6px; } .titleGroup p { grid-column: 1/-1; margin: 8px 0 0; color: #9199a7; font-size: 8px; } .formStatus { padding: 5px 8px; border-radius: 5px; font-size: 7px; font-weight: 700; } .formStatusEditing { background: #fff2dd; color: #c67d24; } .formStatusSubmitted { background: #e7f7ef; color: #27875b; } .formStatusDraft { background: #eceef2; color: #757e8d; } .headerMenu { display: flex; gap: 6px; } .headerMenu button { height: 30px; padding: 0 10px; border: 1px solid #e0e3e9; border-radius: 6px; background: #fff; color: #778194; cursor: pointer; font-size: 8px; } .summary { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 6px 22px rgba(34,47,75,.035); } .summary > div { min-height: 78px; padding: 16px 20px; border-right: 1px solid #eef0f4; } .summary > div:last-child { border-right: 0; } .summary span { display: block; margin-bottom: 6px; color: #8f98a8; font-size: 8px; } .summary strong { color: #29354a; font-family: Georgia,serif; font-size: 20px; font-weight: 500; } .summary strong em { color: #a4aab4; font-size: 10px; font-style: normal; } .summary small { float: right; margin-top: 8px; color: #a5abb6; font-size: 7px; } .warning { min-height: 48px; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 10px 13px; border: 1px solid #f0d59d; border-radius: 8px; background: #fff9ec; color: #9b701f; } .warning > span { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e9ad3e; color: #fff; font-weight: 800; } .warning p { flex: 1; margin: 0; font-size: 8px; line-height: 1.6; } .warning p strong { display: block; } .warning button { border: 0; background: none; color: inherit; cursor: pointer; } .sectionBar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 26px 0 12px; } .sectionBar p { margin: 0 0 4px; color: var(--blue); font-size: 6px; font-weight: 800; letter-spacing: 1.5px; } .sectionBar h2 { display: inline; margin: 0; font-size: 14px; } .sectionBar div > span { margin-left: 9px; color: #969eab; font-size: 8px; } .sectionBar > button { height: 32px; padding: 0 13px; border: 1px solid #cad8f5; border-radius: 7px; background: #fff; color: #3d6bd4; cursor: pointer; font-size: 8px; font-weight: 700; } .itemList { display: flex; flex-direction: column; gap: 12px; } .itemCard { scroll-margin-top: 78px; overflow: hidden; border: 1px solid #e1e5ec; border-radius: 11px; background: #fff; box-shadow: 0 6px 22px rgba(38,50,75,.035); } .itemHeader { min-height: 59px; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-bottom: 1px solid #edf0f4; background: #fcfcfd; } .dragHandle { color: #c2c7cf; cursor: grab; font-size: 11px; letter-spacing: -3px; } .itemNumber { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; background: #e9effe; color: #456dcb; font-family: Georgia,serif; font-size: 10px; } .itemHeader > div:nth-of-type(1) { min-width: 0; flex: 1; } .itemHeader strong { display: block; overflow: hidden; color: #334056; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; } .itemHeader small { display: block; margin-top: 4px; color: #9ba3b0; font-size: 7px; } .itemStatus { padding: 4px 7px; border-radius: 10px; font-size: 7px; } .itemStatusEmpty { background: #eff1f4; color: #7d8593; } .itemStatusDoing { background: #eaf1ff; color: #3d6cd5; } .itemStatusReview { background: #fff1db; color: #c57d22; } .itemStatusDone { background: #e5f7ee; color: #2c9463; } .itemActions { display: flex; align-items: center; gap: 2px; margin-left: 4px; } .itemActions button { height: 25px; padding: 0 7px; border: 0; border-radius: 5px; background: transparent; color: #8992a1; cursor: pointer; font-size: 7px; } .itemActions button:hover:not(:disabled) { background: #eef2f8; color: #4369c2; } .itemActions button:disabled { opacity: .3; cursor: not-allowed; } .itemActions .deleteAction:hover { background: #fff0f0; color: #d65353; } .itemBody { padding: 20px; } .fieldsGrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 13px; } .fieldsGrid label { min-width: 0; display: flex; flex-direction: column; gap: 6px; } .fieldsGrid label > span { color: #5f697a; font-size: 8px; font-weight: 650; } .fieldsGrid label > span b { color: #df5656; } .fieldsGrid input, .fieldsGrid select, .fieldsGrid textarea { width: 100%; border: 1px solid #dfe3ea; border-radius: 7px; outline: 0; background: #fff; color: #465267; font-size: 9px; } .fieldsGrid input, .fieldsGrid select { height: 34px; padding: 0 10px; } .fieldsGrid textarea { height: 67px; resize: vertical; padding: 9px 10px; line-height: 1.6; } .fieldsGrid input:focus, .fieldsGrid select:focus, .fieldsGrid textarea:focus { border-color: #93b0ed; box-shadow: 0 0 0 3px rgba(61,111,232,.07); } .wideField { grid-column: span 2; } .descriptionField { grid-column: span 4; } .attachmentSection { margin-top: 20px; padding-top: 17px; border-top: 1px solid #eef0f3; } .attachmentHeading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; } .attachmentHeading > div { display: flex; align-items: center; gap: 9px; } .imageBadge, .fileBadge { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; background: #e9f0ff; color: #4270d6; font-size: 11px; } .fileBadge { background: #efeaff; color: #7156bf; } .attachmentHeading p { display: flex; flex-direction: column; gap: 3px; margin: 0; } .attachmentHeading strong { color: #4d586a; font-size: 8px; } .attachmentHeading small { color: #a1a8b3; font-size: 7px; } .uploadButton { height: 29px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #dbe1eb; border-radius: 6px; background: #fff; color: #526482; cursor: pointer; font-size: 7px; } .uploadButton:hover { border-color: #9eb4e3; color: var(--blue); } .uploadButton input, .emptyImage input, .emptyFile input { display: none; } .imageGrid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; } .imageGrid figure { min-width: 0; overflow: hidden; margin: 0; border: 1px solid #e1e5eb; border-radius: 8px; background: #fafbfc; } .imagePreview { position: relative; width: 100%; height: 112px; display: block; overflow: hidden; padding: 0; border: 0; background: #e9edf3; cursor: zoom-in; } .imagePreview img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s; } .imagePreview > span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(22,31,48,.52); color: #fff; font-size: 8px; opacity: 0; transition: opacity .2s; } .imagePreview:hover img { transform: scale(1.035); } .imagePreview:hover > span { opacity: 1; } .imageGrid figcaption { min-height: 42px; display: flex; align-items: center; gap: 6px; padding: 7px 8px; } .imageGrid figcaption p { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 2px; margin: 0; } .imageGrid figcaption strong { overflow: hidden; color: #596477; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; } .imageGrid figcaption small { color: #a0a7b2; font-size: 6px; } .imageGrid figcaption button { width: 21px; height: 21px; border: 0; border-radius: 4px; background: none; color: #a6acb6; cursor: pointer; } .imageGrid figcaption button:hover { background: #fff0f0; color: #d75c5c; } .emptyImage { min-height: 155px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #cfd6e1; border-radius: 8px; background: #fafbfc; color: #9aa3b1; cursor: pointer; } .emptyImage:hover { border-color: #8eabe8; background: #f7f9ff; } .emptyImage > span { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 7px; border-radius: 50%; background: #eaf0fd; color: #557bd3; font-size: 14px; } .emptyImage strong { color: #687589; font-size: 8px; } .emptyImage small { margin-top: 4px; font-size: 6px; } .fileList { display: flex; flex-direction: column; gap: 6px; } .fileList > div { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid #e4e7ed; border-radius: 7px; background: #fbfbfc; } .fileType { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; background: #eeeafd; color: #6d57b7; font-size: 6px; font-weight: 800; } .fileList p { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; margin: 0; } .fileList strong { overflow: hidden; color: #536074; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; } .fileList small { color: #a0a7b2; font-size: 6px; } .fileList a, .fileList > div > button { padding: 4px 7px; border: 0; border-radius: 4px; background: transparent; color: #5272bd; cursor: pointer; font-size: 7px; text-decoration: none; } .fileList > div > button:last-child { width: 23px; color: #a2a9b4; font-size: 11px; } .fileList > div > button:last-child:hover { background: #fff0f0; color: #d75c5c; } .emptyFile { min-height: 46px; display: grid; place-items: center; border: 1px dashed #d2d7e0; border-radius: 7px; color: #8e99a9; cursor: pointer; font-size: 8px; } .emptyFile:hover { border-color: #9bafe0; background: #f7f9ff; color: #4f70bd; } .emptyItems { min-height: 260px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #cfd6e2; border-radius: 11px; background: #fff; color: #98a1af; } .emptyItems > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #edf2fb; color: #5d7dc4; font-size: 18px; } .emptyItems h3 { margin: 12px 0 3px; color: #556174; font-size: 11px; } .emptyItems p { margin: 0 0 13px; font-size: 8px; } .emptyItems button { height: 31px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; cursor: pointer; font-size: 8px; } .addItemBottom { width: 100%; min-height: 65px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; border: 1px dashed #bdcbe5; border-radius: 10px; background: rgba(255,255,255,.55); color: #62718a; cursor: pointer; } .addItemBottom:hover { border-color: #7595db; background: #f8faff; } .addItemBottom > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e5edfe; color: #4971ca; } .addItemBottom strong { font-size: 8px; } .addItemBottom small { color: #9fa7b3; font-size: 7px; font-weight: 400; } .formFooter { min-height: 70px; display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid #dfe3ea; } .formFooter p { display: flex; align-items: center; gap: 6px; margin: 0; color: #939baa; font-size: 7px; } .formFooter > div { display: flex; gap: 8px; } .formFooter button { height: 34px; padding: 0 14px; border: 1px solid #dce1e9; border-radius: 7px; background: #fff; color: #687487; cursor: pointer; font-size: 8px; } .formFooter .submitButton { border-color: var(--blue); background: var(--blue); color: #fff; } .lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 35px; background: rgba(12,19,31,.72); backdrop-filter: blur(7px); } .lightbox > div { width: min(980px,95vw); max-height: 88vh; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 30px 90px rgba(3,8,18,.45); } .lightbox header { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; } .lightbox header p { display: flex; flex-direction: column; gap: 3px; margin: 0; } .lightbox header strong { font-size: 9px; } .lightbox header small { color: #9aa2ae; font-size: 7px; } .lightbox header button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f1f2f5; color: #717a89; cursor: pointer; } .lightbox img { width: 100%; max-height: calc(88vh - 52px); display: block; object-fit: contain; background: #101522; } .toast { position: fixed; left: 50%; bottom: 25px; z-index: 70; padding: 10px 17px; border-radius: 22px; background: rgba(29,38,55,.96); color: #fff; box-shadow: 0 12px 30px rgba(22,30,44,.25); font-size: 8px; animation: toastIn .22s ease both; } @media (max-width: 980px) { .topbar nav { display: none; } .workspace { grid-template-columns: 220px minmax(0,1fr); } .sidebar { width: 220px; } .main { padding: 23px 20px 65px; } .fieldsGrid { grid-template-columns: repeat(2,minmax(0,1fr)); } .wideField { grid-column: span 2; } .descriptionField { grid-column: span 2; } .imageGrid { grid-template-columns: repeat(3,minmax(0,1fr)); } .itemActions button:nth-child(-n+2) { display: none; } } @media (max-width: 720px) { .topbar { padding: 0 13px; } .saveState, .headerActions > button:first-child, .headerActions > span { display: none; } .headerActions { margin-left: auto; } .workspace { display: block; } .sidebar { position: relative; top: auto; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid #e2e6ed; } .sidebarTitle { height: 58px; } .formList { max-height: 205px; } .sidebarFooter { display: none; } .main { width: 100%; padding: 20px 14px 55px; } .breadcrumb { display: none; } .titleGroup { grid-template-columns: 1fr; } .titleGroup input { width: 100%; margin-top: 8px; font-size: 20px; } .titleGroup p { grid-column: 1; line-height: 1.6; } .headerMenu { display: none; } .summary { grid-template-columns: repeat(2,1fr); } .summary > div:nth-child(2) { border-right: 0; } .summary > div:nth-child(-n+2) { border-bottom: 1px solid #eef0f4; } .sectionBar div > span { display: none; } .itemHeader { flex-wrap: wrap; } .itemHeader > div:nth-of-type(1) { min-width: 50%; } .itemStatus { margin-left: auto; } .itemActions { width: 100%; justify-content: flex-end; padding-top: 6px; border-top: 1px solid #eef0f3; } .itemBody { padding: 15px; } .fieldsGrid { grid-template-columns: 1fr; } .wideField, .descriptionField { grid-column: 1; } .imageGrid { grid-template-columns: repeat(2,minmax(0,1fr)); } .attachmentHeading small { display: none; } .addItemBottom small { display: none; } .formFooter { align-items: flex-start; gap: 15px; flex-direction: column; } .formFooter > div { width: 100%; } .formFooter button { flex: 1; } .lightbox { padding: 12px; } } @media (max-width: 430px) { .imageGrid { grid-template-columns: 1fr; } .imagePreview { height: 180px; } }