@import "tailwindcss"; :root { --ink: #152034; --text: #27344a; --muted: #7a8497; --line: #e8ebf2; --soft-line: #f0f2f6; --surface: #ffffff; --canvas: #f5f7fb; --sidebar: #111b2e; --sidebar-soft: #19263d; --blue: #3276f6; --blue-dark: #215ecb; --blue-soft: #edf4ff; --green: #20a26a; --green-soft: #eaf8f1; --orange: #e99124; --orange-soft: #fff5e7; --purple: #8157d9; --purple-soft: #f3effd; --red: #e45252; --red-soft: #feeeee; --shadow: 0 8px 26px rgba(35, 48, 78, 0.06); } * { box-sizing: border-box; } html { background: var(--canvas); } body { margin: 0; background: var(--canvas); color: var(--text); font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; } button, input, select { font: inherit; } button { color: inherit; } button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(50, 118, 246, .18); outline-offset: 2px; } .app-shell { min-height: 100vh; } .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 244px; display: flex; flex-direction: column; overflow-y: auto; background: var(--sidebar); color: #b8c1d2; border-right: 1px solid #25314a; } .brand { display: flex; align-items: center; gap: 12px; width: 100%; height: 82px; padding: 0 28px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 20px; font-weight: 800; letter-spacing: -.4px; } .brand > span:last-child span { color: #72a0ff; } .brand-mark { position: relative; width: 27px; height: 27px; display: block; transform: rotate(-12deg); } .brand-mark i { position: absolute; display: block; width: 8px; height: 24px; border-radius: 5px; background: #fff; } .brand-mark i:nth-child(1) { left: 0; top: 3px; height: 16px; background: #74a4ff; } .brand-mark i:nth-child(2) { left: 9px; top: 0; height: 24px; } .brand-mark i:nth-child(3) { right: 0; bottom: 0; height: 17px; background: #477ff2; } .main-nav { flex: 1; padding: 4px 16px 20px; } .nav-group { margin: 0 0 22px; } .nav-group > p { margin: 0 12px 8px; color: #65738a; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; } .nav-item { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: #aeb8ca; cursor: pointer; text-align: left; font-size: 14px; transition: background .18s ease, color .18s ease; } .nav-item:hover { background: rgba(255,255,255,.05); color: #fff; } .nav-item.active { background: #2c64d7; color: #fff; box-shadow: 0 6px 16px rgba(24, 78, 191, .24); } .nav-icon { width: 20px; text-align: center; color: inherit; font-size: 18px; line-height: 1; } .nav-badge { margin-left: auto; min-width: 22px; padding: 2px 6px; border-radius: 9px; background: rgba(255,255,255,.1); color: #9dacbf; font-size: 11px; text-align: center; } .nav-item.active .nav-badge { background: rgba(255,255,255,.2); color: #fff; } .chevron { margin-left: auto; transition: transform .2s ease; } .chevron.expanded { transform: rotate(180deg); } .subnav { position: relative; margin: 4px 0 4px 22px; padding-left: 22px; } .subnav::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 1px; background: #2b3850; } .subnav button { display: block; width: 100%; padding: 7px 6px; border: 0; background: none; color: #748198; cursor: pointer; text-align: left; font-size: 13px; } .subnav button:hover, .subnav button.active { color: #d8e4fb; } .sidebar-help { display: flex; align-items: center; gap: 10px; margin: 0 16px 18px; padding: 13px; border: 1px solid #2a3952; border-radius: 10px; background: #17243a; } .sidebar-help > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #23395c; color: #7da7ff; font-weight: 800; } .sidebar-help div { flex: 1; display: flex; flex-direction: column; gap: 3px; } .sidebar-help strong { color: #e3e8f1; font-size: 12px; } .sidebar-help small { color: #718099; font-size: 10px; } .sidebar-help button { border: 0; background: none; color: #77869d; cursor: pointer; } .main-area { min-height: 100vh; margin-left: 244px; } .topbar { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); } .global-search { width: min(420px, 40vw); height: 39px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: #f3f5f8; color: #8c96a8; transition: border-color .2s, background .2s; } .global-search:focus-within { border-color: #b8cffd; background: #fff; box-shadow: 0 0 0 3px rgba(50,118,246,.08); } .global-search span { font-size: 20px; transform: rotate(-20deg); } .global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; } .global-search input::placeholder { color: #9ba4b3; } kbd { padding: 3px 6px; border: 1px solid #dfe3e9; border-bottom-width: 2px; border-radius: 5px; background: #fff; color: #9aa3b2; font-family: inherit; font-size: 10px; } .top-actions { display: flex; align-items: center; gap: 8px; } .icon-button { position: relative; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #697386; cursor: pointer; font-size: 17px; } .icon-button:hover { background: #f2f4f7; color: var(--blue); } .notification i { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: var(--red); box-sizing: content-box; } .divider { width: 1px; height: 24px; margin: 0 8px; background: var(--line); } .profile-wrap { position: relative; } .profile { display: flex; align-items: center; gap: 9px; padding: 3px; border: 0; background: transparent; cursor: pointer; text-align: left; } .avatar, .mini-avatar, .activity-avatar, .avatar-stack span { display: grid; place-items: center; border-radius: 50%; background: #d9e6ff; color: #285dbd; font-weight: 700; } .avatar { width: 36px; height: 36px; background: #dfe9ff; border: 2px solid #fff; box-shadow: 0 0 0 1px #dbe0e9; font-size: 13px; } .profile > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; } .profile strong { color: var(--ink); font-size: 12px; } .profile small { color: #8c95a6; font-size: 10px; } .profile b { margin-left: 5px; color: #9099a8; font-size: 12px; } .profile-menu { position: absolute; top: 48px; right: 0; width: 160px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 15px 35px rgba(35, 48, 78, .14); } .profile-menu button { width: 100%; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; text-align: left; font-size: 12px; } .profile-menu button:hover { background: #f3f6fb; color: var(--blue); } .mobile-menu { display: none; border: 0; background: transparent; cursor: pointer; font-size: 20px; } .page-content { max-width: 1520px; margin: 0 auto; padding: 30px 36px 48px; } .page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; } .page-heading h1 { margin: 3px 0 7px; color: var(--ink); font-size: 27px; line-height: 1.2; letter-spacing: -.7px; } .page-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 13px; } .eyebrow { margin: 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; } .heading-actions { display: flex; gap: 10px; } .button { min-height: 38px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 650; transition: transform .15s, box-shadow .15s, background .15s; } .button:hover:not(:disabled) { transform: translateY(-1px); } .button.primary { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 5px 13px rgba(50,118,246,.2); } .button.primary:hover { background: var(--blue-dark); } .button.secondary { border-color: #dfe3ea; background: #fff; color: #5f6b7e; } .button.secondary:hover { border-color: #b9c8e1; background: #fbfcfe; } .button.soft { background: var(--blue-soft); color: var(--blue); } .button.danger { background: var(--red); color: #fff; } .button.icon-combo { border-color: #d8def0; background: #263650; color: #fff; } .button:disabled { background: #f2f3f5; color: #b1b6bf; cursor: not-allowed; } .panel { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); } .panel-header { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 21px; border-bottom: 1px solid var(--soft-line); } .panel-header h2 { margin: 0 0 4px; color: var(--ink); font-size: 15px; letter-spacing: -.2px; } .panel-header p { margin: 0; color: #8e97a7; font-size: 11px; } .panel-header > button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 11px; } .stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 17px; } .stat-card { position: relative; min-height: 105px; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 4px 16px rgba(35,48,78,.04); } .stat-icon, .summary-icon { display: grid; place-items: center; border-radius: 10px; font-weight: 800; } .stat-icon { width: 45px; height: 45px; font-size: 19px; } .blue { background: var(--blue-soft); color: var(--blue); } .green { background: var(--green-soft); color: var(--green); } .orange { background: var(--orange-soft); color: var(--orange); } .purple { background: var(--purple-soft); color: var(--purple); } .stat-card div:nth-child(2) p { margin: 0 0 5px; color: #828c9d; font-size: 11px; } .stat-card div:nth-child(2) strong { color: var(--ink); font-size: 24px; line-height: 1; letter-spacing: -.5px; } .stat-card > span:last-child { position: absolute; right: 15px; bottom: 17px; padding: 3px 6px; border-radius: 10px; font-size: 9px; } .positive { background: var(--green-soft); color: var(--green); } .muted { background: #f3f4f6; color: #8b94a3; } .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(315px, .8fr); gap: 17px; margin-bottom: 17px; } .project-row { min-height: 94px; display: flex; align-items: center; gap: 13px; padding: 13px 20px; border-bottom: 1px solid var(--soft-line); } .project-row:last-child { border-bottom: 0; } .project-row > img { width: 60px; height: 60px; border-radius: 9px; object-fit: cover; } .project-info { min-width: 0; flex: 1; } .project-title-line { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; } .project-title-line strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .project-info > p { margin: 0 0 9px; overflow: hidden; color: #8992a2; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } .progress-line { display: flex; align-items: center; gap: 8px; } .progress-line > span { width: min(210px, 70%); height: 5px; overflow: hidden; border-radius: 4px; background: #edf0f4; } .progress-line i, .content-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue); } .progress-line b { color: #6f7a8c; font-size: 9px; } .project-owner { width: 66px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 3px; } .mini-avatar { width: 23px; height: 23px; font-size: 9px; } .project-owner small { overflow: hidden; color: #687486; font-size: 9px; white-space: nowrap; } .project-owner b { grid-column: 1 / -1; margin-top: 2px; color: #a0a8b5; font-size: 9px; font-weight: 500; } .tag { display: inline-flex; align-items: center; width: fit-content; min-height: 21px; padding: 2px 8px; border-radius: 5px; background: #f1f3f6; color: #697488; font-size: 9px; font-weight: 700; white-space: nowrap; } .tag.blue, .status-进行中 { background: var(--blue-soft); color: var(--blue); } .tag.green, .status-已完成 { background: var(--green-soft); color: var(--green); } .tag.orange, .status-待开始 { background: var(--orange-soft); color: var(--orange); } .tag.purple, .status-评审中 { background: var(--purple-soft); color: var(--purple); } .tag.red { background: var(--red-soft); color: var(--red); } .tag.neutral { background: #f1f3f6; color: #687489; } .tag.outlined { border: 1px solid #dce1e9; background: #fff; } .tag.white { background: rgba(255,255,255,.9); color: var(--ink); } .completion-bar { height: 5px; margin: 0 20px 7px; overflow: hidden; border-radius: 4px; background: #edf0f4; } .completion-bar i { display: block; width: 66%; height: 100%; background: var(--blue); } .todo-list { padding: 3px 20px 0; } .todo-list label { min-height: 45px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--soft-line); cursor: pointer; } .todo-list input { width: 16px; height: 16px; accent-color: var(--blue); } .todo-list span { flex: 1; color: #445168; font-size: 11px; } .todo-list time { color: #9aa2b0; font-size: 9px; } .todo-list label.done span { color: #9ca4b1; text-decoration: line-through; } .text-button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 10px; } .add-todo { margin: 13px 20px 16px; } .activity-list { display: grid; grid-template-columns: repeat(4, 1fr); padding: 13px 20px; } .activity-item { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 5px 17px; border-right: 1px solid var(--soft-line); } .activity-item:first-child { padding-left: 0; } .activity-item:last-child { padding-right: 0; border-right: 0; } .activity-avatar { width: 32px; height: 32px; flex: 0 0 auto; font-size: 10px; } .activity-item p { min-width: 0; flex: 1; margin: 0; overflow: hidden; color: #788294; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } .activity-item p strong { color: var(--ink); } .activity-item p b { color: #42516a; font-weight: 600; } .activity-item p small { display: block; margin-top: 4px; color: #a1a8b3; font-size: 9px; } .activity-item > button { border: 0; background: transparent; color: #a4abb7; cursor: pointer; font-size: 10px; } .component-tabs { display: flex; gap: 4px; width: fit-content; margin-bottom: 16px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #fff; } .component-tabs button { padding: 8px 14px; border: 0; border-radius: 6px; background: transparent; color: #7b8596; cursor: pointer; font-size: 11px; } .component-tabs button.active { background: var(--blue); color: #fff; } .specimen { margin-bottom: 16px; } .specimen-row { min-height: 112px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 24px; } .tags-demo { min-height: 95px; } .form-showcase { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; padding: 25px; } .form-showcase > label, .modal > label, .time-row label { display: flex; flex-direction: column; gap: 8px; color: #4d596e; font-size: 11px; font-weight: 650; } .form-showcase input, .form-showcase select, .modal input, .modal select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #dfe3ea; border-radius: 7px; outline: 0; background: #fff; color: #38465c; font-size: 11px; } .form-showcase input:focus, .form-showcase select:focus, .modal input:focus, .modal select:focus { border-color: #8db2ff; box-shadow: 0 0 0 3px rgba(50,118,246,.08); } .input-with-icon { position: relative; } .input-with-icon i { position: absolute; left: 11px; top: 9px; color: #929bac; font-size: 17px; font-style: normal; } .input-with-icon input { padding-left: 34px; } .switch-field { flex-direction: row !important; align-items: center; justify-content: space-between; padding: 0 4px; } .switch-field > span { display: flex; flex-direction: column; gap: 4px; } .switch-field small { color: #9aa2b0; font-weight: 400; } .switch-field input { width: 38px; height: 21px; accent-color: var(--blue); } .state-gallery { padding-bottom: 20px; } .state-gallery .panel-header { margin-bottom: 20px; } .alert { min-height: 58px; display: flex; align-items: center; gap: 12px; margin: 10px 22px; padding: 11px 15px; border: 1px solid; border-radius: 8px; font-size: 11px; } .alert > b { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 50%; } .alert > span { flex: 1; display: flex; flex-direction: column; gap: 3px; } .alert strong { color: currentColor; } .alert > button { border: 0; background: none; color: currentColor; cursor: pointer; } .alert.success { border-color: #bfe9d4; background: #f3fbf7; color: var(--green); } .alert.info { border-color: #cfe0ff; background: #f5f8ff; color: var(--blue); } .alert.warning { border-color: #f2dbb5; background: #fffaf1; color: #c67817; } .alert.error { border-color: #f4c8c8; background: #fff6f6; color: var(--red); } .menu-examples { min-height: 320px; display: flex; align-items: flex-start; gap: 36px; padding: 28px; background: #f5f7fa; } .demo-menu { width: 230px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 15px 35px rgba(35,48,78,.1); } .demo-menu p, .demo-menu small { display: block; margin: 7px 10px; color: #a0a8b5; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; } .demo-menu button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; text-align: left; font-size: 11px; } .demo-menu button:hover, .demo-menu button.active { background: #f0f5ff; color: var(--blue); } .demo-menu button kbd, .demo-menu button span { margin-left: auto; } .demo-menu hr { height: 1px; margin: 4px 7px; border: 0; background: var(--line); } .demo-menu .danger-text { color: var(--red); } .demo-menu.dark { border-color: #27354d; background: var(--sidebar); color: #b9c3d5; } .demo-menu.dark button:hover, .demo-menu.dark button.active { background: #2c64d7; color: #fff; } .demo-menu.dark button span { min-width: 20px; padding: 2px 5px; border-radius: 8px; background: rgba(255,255,255,.1); text-align: center; } .content-panel { overflow: hidden; } .content-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); } .filter-chips { display: flex; gap: 4px; } .filter-chips button, .schedule-toolbar > div button { padding: 8px 11px; border: 0; border-radius: 6px; background: transparent; color: #778195; cursor: pointer; font-size: 11px; } .filter-chips button.active, .schedule-toolbar > div button.active { background: var(--blue-soft); color: var(--blue); font-weight: 700; } .filter-chips b { margin-left: 4px; font-size: 9px; } .view-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; } .view-switch button { width: 30px; height: 28px; border: 0; border-radius: 5px; background: transparent; color: #8992a2; cursor: pointer; } .view-switch button.active { background: #eaf1ff; color: var(--blue); } .image-list article { min-height: 142px; display: grid; grid-template-columns: 156px 1fr 145px; align-items: center; gap: 20px; padding: 18px; border-bottom: 1px solid var(--soft-line); } .image-list article:last-child { border-bottom: 0; } .image-list img { width: 156px; height: 105px; border-radius: 9px; object-fit: cover; } .content-title { display: flex; gap: 6px; margin-bottom: 9px; } .image-list h3, .content-cards h3 { margin: 0 0 7px; color: var(--ink); font-size: 14px; } .image-list p, .content-cards p { margin: 0 0 11px; color: #778296; font-size: 11px; line-height: 1.6; } .image-list small { color: #9aa2b0; font-size: 9px; } .content-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .content-progress strong { color: var(--ink); font-size: 18px; } .content-progress > span { width: 105px; height: 5px; border-radius: 4px; background: #edf0f4; } .content-progress button { margin-top: 8px; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 10px; } .content-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px; } .content-cards > article { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: transform .18s, box-shadow .18s; } .content-cards > article:hover { transform: translateY(-2px); box-shadow: var(--shadow); } .card-image { position: relative; height: 145px; } .card-image img { width: 100%; height: 100%; object-fit: cover; } .card-image .tag { position: absolute; top: 12px; left: 12px; } .card-body { padding: 16px; } .card-body h3 { margin-top: 10px; } .card-body > div { display: flex; align-items: center; gap: 7px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--soft-line); } .card-body small { flex: 1; color: #697588; font-size: 10px; } .card-body b { color: var(--blue); font-size: 11px; } .empty-state { min-height: 350px; display: grid; place-content: center; justify-items: center; color: #9aa3b1; text-align: center; } .empty-state > span { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: #f2f5f9; font-size: 24px; transform: rotate(-20deg); } .empty-state h3 { margin: 14px 0 5px; color: #556176; font-size: 14px; } .empty-state p { margin: 0; font-size: 11px; } .board-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .board-toolbar > div:last-child { display: flex; gap: 8px; } .avatar-stack { display: flex; align-items: center; padding-left: 8px; } .avatar-stack span { width: 30px; height: 30px; margin-left: -8px; border: 2px solid var(--canvas); font-size: 9px; } .avatar-stack span:nth-child(2) { background: #eee5ff; color: #754bc3; } .avatar-stack span:nth-child(3) { background: #ffe9d2; color: #c4741b; } .avatar-stack span:nth-child(4) { background: #dff4e9; color: #21845b; } .avatar-stack b { margin-left: 6px; color: #7d8798; font-size: 10px; } .kanban-board { display: grid; grid-template-columns: repeat(4, minmax(245px, 1fr)); gap: 13px; overflow-x: auto; padding-bottom: 12px; } .kanban-column { min-height: 540px; border: 1px solid var(--line); border-radius: 11px; background: #eef1f6; } .kanban-column.dragging { border-color: #b9cdf5; } .kanban-column > header { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; } .kanban-column > header > div { display: flex; align-items: center; gap: 8px; } .kanban-column > header i { width: 8px; height: 8px; border-radius: 50%; } .kanban-column > header strong { color: var(--ink); font-size: 12px; } .kanban-column > header span { min-width: 20px; padding: 2px 6px; border-radius: 9px; background: #dde2e9; color: #778194; font-size: 9px; text-align: center; } .kanban-column > header button { border: 0; background: transparent; color: #7e8899; cursor: pointer; font-size: 17px; } .kanban-cards { padding: 0 8px 10px; } .kanban-cards article { margin-bottom: 8px; padding: 13px; border: 1px solid #e1e5eb; border-radius: 9px; background: #fff; box-shadow: 0 3px 8px rgba(35,48,78,.04); cursor: grab; } .kanban-cards article:active { cursor: grabbing; opacity: .75; } .kanban-card-top { display: flex; align-items: center; justify-content: space-between; } .kanban-card-top > span { color: #a0a8b4; font-size: 8px; font-weight: 700; letter-spacing: .4px; } .kanban-card-top button { border: 0; background: transparent; color: #a0a7b2; cursor: pointer; font-size: 9px; } .kanban-cards h3 { min-height: 37px; margin: 9px 0 10px; color: var(--ink); font-size: 11px; line-height: 1.6; } .kanban-tags { display: flex; gap: 5px; } .kanban-cards footer { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--soft-line); } .kanban-cards footer small { flex: 1; color: #768195; font-size: 9px; } .kanban-cards footer time { color: #929baa; font-size: 8px; } .kanban-cards footer time.today { color: var(--red); } .add-card { width: 100%; min-height: 38px; border: 1px dashed #cdd3dc; border-radius: 8px; background: transparent; color: #8b95a5; cursor: pointer; font-size: 10px; } .add-card:hover { border-color: #8eaff2; background: rgba(255,255,255,.55); color: var(--blue); } .schedule-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; } .schedule-summary > div { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; } .summary-icon { width: 40px; height: 40px; } .schedule-summary p { display: flex; flex-direction: column; gap: 5px; margin: 0; color: #8490a2; font-size: 10px; } .schedule-summary strong { color: var(--ink); font-size: 20px; } .schedule-panel { overflow: hidden; } .schedule-toolbar { min-height: 67px; display: flex; align-items: center; justify-content: space-between; padding: 11px 18px; border-bottom: 1px solid var(--line); } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; min-width: 980px; } th { height: 42px; padding: 0 15px; background: #f8f9fb; color: #8d96a7; font-size: 9px; font-weight: 700; text-align: left; } td { height: 72px; padding: 10px 15px; border-top: 1px solid var(--soft-line); color: #6e798c; font-size: 10px; } td:first-child { display: flex; align-items: center; gap: 10px; } td:first-child div, td:nth-child(2) { display: flex; flex-direction: column; gap: 4px; } td strong { color: #405069; font-size: 10px; } td small { color: #9ba3b0; font-size: 8px; } .task-type-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: var(--blue-soft); color: var(--blue); font-size: 14px; } code { width: fit-content; padding: 2px 5px; border-radius: 4px; background: #f2f4f7; color: #8a94a5; font-size: 8px; } .success-rate { display: inline-block; width: 46px; height: 4px; margin-right: 5px; border-radius: 3px; background: #e9edf2; vertical-align: middle; } .success-rate i { display: block; height: 100%; border-radius: inherit; background: var(--green); } .toggle { position: relative; width: 31px; height: 18px; padding: 0; border: 0; border-radius: 10px; background: #d7dce4; cursor: pointer; vertical-align: middle; } .toggle i { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .2s; } .toggle.on { background: var(--blue); } .toggle.on i { left: 16px; } td .running, td .disabled { margin-left: 6px; font-size: 9px; } td .running { color: var(--green); } td .disabled { color: #9aa2af; } .row-action { border: 0; background: transparent; color: #9099a8; cursor: pointer; } .modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(14, 23, 39, .48); backdrop-filter: blur(4px); } .modal { width: min(520px, 100%); padding: 24px; border: 1px solid #e2e6ec; border-radius: 14px; background: #fff; box-shadow: 0 28px 70px rgba(14,23,39,.22); } .modal header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 23px; } .modal h2 { margin: 0 0 5px; color: var(--ink); font-size: 19px; } .modal header p { margin: 0; color: #8c96a5; font-size: 10px; } .modal header > button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f3f4f7; color: #788293; cursor: pointer; font-size: 18px; } .modal > label { margin-bottom: 16px; } .modal fieldset { display: flex; gap: 20px; margin: 0 0 16px; padding: 13px; border: 1px solid #e2e6ec; border-radius: 8px; } .modal legend { padding: 0 5px; color: #4d596e; font-size: 10px; font-weight: 700; } .modal fieldset label { display: flex; align-items: center; gap: 6px; color: #687488; font-size: 11px; } .modal fieldset input { accent-color: var(--blue); } .time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .modal footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); } .toast-stack { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; flex-direction: column; gap: 9px; } .toast { min-width: 235px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid #dfe5ed; border-radius: 9px; background: #fff; box-shadow: 0 15px 35px rgba(25,38,61,.15); color: #47556c; font-size: 11px; animation: toast-in .25s ease-out; } .toast span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; } @keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .sidebar-backdrop { display: none; } @media (max-width: 1180px) { .stats-grid, .schedule-summary { grid-template-columns: repeat(2, 1fr); } .dashboard-grid { grid-template-columns: 1fr; } .activity-list { grid-template-columns: repeat(2, 1fr); gap: 10px 0; } .activity-item:nth-child(2) { border-right: 0; } .form-showcase { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 860px) { .sidebar { transform: translateX(-100%); transition: transform .22s ease; } .sidebar.is-open { transform: translateX(0); } .sidebar-backdrop { position: fixed; inset: 0; z-index: 25; display: block; border: 0; background: rgba(13,21,35,.45); } .main-area { margin-left: 0; } .mobile-menu { display: block; } .topbar { gap: 12px; padding: 0 18px; } .global-search { width: auto; flex: 1; } .global-search kbd, .icon-button, .divider, .profile > span:nth-child(2), .profile b { display: none; } .page-content { padding: 24px 20px 40px; } .content-cards { grid-template-columns: repeat(2, 1fr); } .kanban-board { grid-template-columns: repeat(4, 270px); } } @media (max-width: 620px) { .topbar { height: 62px; } .page-content { padding: 20px 14px 35px; } .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; } .heading-actions { width: 100%; } .heading-actions .button { flex: 1; } .stats-grid, .schedule-summary { grid-template-columns: 1fr; gap: 10px; } .stat-card { min-height: 88px; } .activity-list { grid-template-columns: 1fr; } .activity-item, .activity-item:first-child { padding: 7px 0; border-right: 0; border-bottom: 1px solid var(--soft-line); } .activity-item:last-child { border-bottom: 0; } .project-row { align-items: flex-start; padding: 13px; } .project-row > img { width: 52px; height: 52px; } .project-owner { display: none; } .form-showcase { grid-template-columns: 1fr; } .specimen-row { align-items: stretch; } .specimen-row .button { flex: 1 1 40%; } .menu-examples { flex-direction: column; } .demo-menu { width: 100%; } .content-toolbar { align-items: flex-start; gap: 10px; } .filter-chips { overflow-x: auto; } .image-list article { grid-template-columns: 100px 1fr; gap: 13px; } .image-list img { width: 100px; height: 88px; } .content-progress { grid-column: 1 / -1; align-items: stretch; flex-direction: row; } .content-progress > span { flex: 1; margin-top: 7px; } .content-progress button { margin: 0 0 0 auto; } .content-cards { grid-template-columns: 1fr; padding: 14px; } .board-toolbar { gap: 10px; } .board-toolbar .button { padding: 0 9px; } .schedule-toolbar { align-items: flex-start; flex-direction: column; } .time-row { grid-template-columns: 1fr; } .toast-stack { right: 12px; bottom: 12px; left: 12px; } .toast { min-width: 0; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }