.app-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100dvh; } .sidebar { display: flex; flex-direction: column; min-width: 0; position: sticky; top: 0; height: 100dvh; background: #151922; border-right: 1px solid #252d39; } .sidebar-brand { display: block; padding: 28px 24px 27px; text-decoration: none; } .brand { display: flex; align-items: center; gap: 11px; width: max-content; } .brand-icon { display: grid; place-items: center; width: 39px; height: 39px; color: #102c27; background: #79e4d2; border-radius: 11px; } .brand strong, .brand small { display: block; line-height: 1.1; } .brand strong { color: #f4f8fe; font-size: 1.25rem; letter-spacing: -.07em; font-weight: 770; } .brand strong span { color: var(--primary); } .brand small { color: var(--muted-foreground); letter-spacing: .07em; font-size: .75rem; margin-top: .16rem; } .sidebar-body { flex: 1; overflow: auto; padding: 5px 13px 20px; } .nav-caption { margin: 18px 11px 9px; color: #92a0b5; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 670; } .sidebar nav { display: grid; gap: 4px; margin-bottom: 28px; } .sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--muted-foreground); font-size: .91rem; font-weight: 540; } .sidebar nav a > svg { width: 17px; height: 17px; flex: none; } .sidebar nav a:hover { background: #222a36; color: var(--foreground); } .sidebar nav a[aria-current] { color: #a0edde; background: #233a3b; font-weight: 650; } .sidebar-user { padding: 17px 13px 17px 16px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 9px; } .avatar { width: 34px; height: 34px; border-radius: 9px; background: #26403f; color: #acebdd; font-size: .76rem; display: grid; place-items: center; font-weight: 720; flex: none; } .profile-name { min-width: 0; flex: 1; } .profile-name strong, .profile-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } .profile-name strong { font-size: .85rem; font-weight: 670; } .profile-name small { font-size: .74rem; color: var(--muted-foreground); } .sidebar-user button { color: var(--muted-foreground); } .workspace { min-width: 0; } .topbar { display: flex; min-height: 63px; border-bottom: 1px solid #252d39; align-items: center; justify-content: space-between; gap: 12px; padding: 0 clamp(18px, 3.2vw, 44px); } .breadcrumb { display: flex; align-items: center; gap: 11px; font-size: .87rem; color: var(--muted-foreground); min-width: 0; } .breadcrumb > strong { color: #e0e7f1; font-weight: 590; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .breadcrumb > i { font-style: normal; color: #61728b; } .server-status { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; color: #aab9c9; font-size: .84rem; } .server-status i { background: #72dcae; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 3px #72dcae1c; } .mobile-nav-button { display: none; } .workspace-content { max-width: 1600px; margin: 0 auto; padding: 35px clamp(18px, 3.2vw, 44px) 48px; } .page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 27px; } .page-heading h1 { font-size: clamp(1.85rem, 3vw, 2.45rem); color: #f5f7fb; letter-spacing: -.055em; line-height: 1.12; font-weight: 730; overflow-wrap: anywhere; } .page-heading p { color: var(--muted-foreground); margin-top: 7px; font-size: .95rem; line-height: 1.5; } .stats { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 34px; } .stat-card { padding: 19px 20px; gap: 14px; flex-direction: row; align-items: flex-start; box-shadow: none; } .stat-icon, .row-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 9px; color: #8ce3d5; background: #263b43; border: 1px solid #33505a; } .stat-icon.green { color: #8ee2b1; background: #254238; border-color: #33564a; } .stat-icon.violet { color: #c4b4fc; background: #362e4d; border-color: #4a3d66; } .stat-label { color: #c1ccdc; font-size: .89rem; font-weight: 590; } .stat-value { font-size: 1.9rem; letter-spacing: -.065em; line-height: 1.19; font-weight: 740; color: #f1f5fa; margin: 3px 0; } .stat-detail { color: var(--muted-foreground); font-size: .79rem; line-height: 1.35; } .dashboard-split { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 22px; align-items: start; } .section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; } .section-title h2, .settings-title h2, .settings-card > h2 { font-weight: 690; font-size: 1.15rem; letter-spacing: -.034em; color: #f0f4fa; } .section-title p, .settings-title p { color: var(--muted-foreground); margin-top: 3px; font-size: .86rem; } .table-card { padding: 0; gap: 0; box-shadow: none; min-width: 0; } .table-scroll { overflow-x: auto; } .table-card table { width: 100%; border-collapse: collapse; text-align: left; } .table-card :is(th, td) { padding: 13px 15px; white-space: nowrap; } .table-card th { color: #a2b1c5; font-size: .79rem; font-weight: 640; border-bottom: 1px solid var(--border); } .table-card td { font-size: .87rem; color: #c3cddd; } .table-card tr + tr td { border-top: 1px solid var(--border); } .table-card td:first-child { width: 100%; } .table-card .cell-action { text-align: right; padding-left: 4px; } .table-secondary { display: block; font-size: .74rem; color: var(--muted-foreground); margin-top: 4px; } .primary-cell { color: inherit; display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; max-width: 100%; } .primary-cell .row-icon { width: 35px; height: 35px; background: #242f3d; border-color: #303e50; color: #a3c2da; } .primary-cell span:last-child { display: grid; min-width: 0; } .primary-cell strong, .primary-cell small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: min(240px, 34vw); } .primary-cell strong { color: #ecf2fb; font-weight: 655; } .primary-cell small { font-size: .76rem; color: var(--muted-foreground); margin-top: 2px; } button.primary-cell:hover strong { color: var(--primary); } .status-badge { border-radius: 999px; gap: 6px; padding: 4px 8px; font-size: .74rem; line-height: 1.15; font-weight: 620; border: 1px solid transparent; } .status-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; } .status-live { color: #a6e9c0; background: #234536; border-color: #365745; } .status-draft { color: #d2c0fc; background: #37314b; border-color: #504360; } .preview-card { padding: 12px; gap: 12px; min-width: 0; box-shadow: none; } .preview-frame { overflow: hidden; background: #111d2b; border: 1px solid #384555; aspect-ratio: 16 / 9; border-radius: 8px; } .preview-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 3px 2px; } .preview-foot strong, .preview-foot small { display: block; } .preview-foot strong { font-size: .91rem; font-weight: 660; } .preview-foot small { color: var(--muted-foreground); font-size: .77rem; margin-top: 2px; } .preview-external { flex: none; } .empty-state { min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 7px; } .empty-state > svg { color: #80dace; margin-bottom: 4px; } .empty-state strong { font-size: .95rem; } .empty-state p { color: var(--muted-foreground); font-size: .85rem; max-width: 38ch; } .empty-state button { margin-top: 8px; } .loading-panel { min-height: 170px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; color: var(--muted-foreground); } .feedback { padding: 10px 12px; display: flex; align-items: flex-start; gap: 8px; border: 1px solid #344655; border-radius: 8px; background: #202d3c; color: #dcecf8; font-size: .88rem; margin-bottom: 13px; white-space: pre-line; overflow-wrap: anywhere; } .feedback > svg { flex: none; margin-top: 2px; } .feedback-error { color: #ffc6cf; border-color: #6b3c4b; background: #382530; } .feedback-success, .toast { border: 1px solid #3b6453; background: #203d35; color: #b8f5d5; } .toast { display: flex; gap: 8px; align-items: center; position: fixed; z-index: 5; right: 23px; bottom: 22px; padding: 13px 16px; box-shadow: 0 8px 28px #0006; border-radius: 9px; } .dialog { position: fixed; inset: 0; margin: auto; padding: 24px; color: var(--foreground); background: var(--card); border: 1px solid var(--border); border-radius: 14px; width: min(480px, calc(100vw - 30px)); max-height: calc(100dvh - 30px); overflow-y: auto; box-shadow: 0 24px 80px #0008; } .dialog::backdrop { background: #080c13bc; } .dialog-head { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; margin-bottom: 19px; } .dialog-head h2 { font-size: 1.28rem; letter-spacing: -.04em; font-weight: 700; overflow-wrap: anywhere; } .dialog-head p { font-size: .9rem; color: var(--muted-foreground); margin-top: 5px; line-height: 1.45; overflow-wrap: anywhere; } .form-stack { display: grid; gap: 14px; } .form-stack .feedback { margin-bottom: 0; } .form-field { display: grid; min-width: 0; gap: 7px; } .form-field label { font-size: .86rem; line-height: 1.35; font-weight: 620; } .field-hint { color: var(--muted-foreground); font-size: .79rem; line-height: 1.4; } .form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .select-wrap { position: relative; min-width: 0; } .select-wrap select { appearance: none; height: 36px; width: 100%; color: var(--foreground); background: #242d3a66; border: 1px solid var(--input); border-radius: 7px; padding: 0 33px 0 11px; font-size: .88rem; text-overflow: ellipsis; } .select-wrap > svg { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); pointer-events: none; color: var(--muted-foreground); } .select-wrap select option { background: var(--card); } .toggle-row { display: flex; position: relative; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; } .toggle-row > span:first-child { display: grid; } .toggle-row strong { font-size: .85rem; font-weight: 600; } .toggle-row small { color: var(--muted-foreground); font-size: .79rem; } .toggle-row > input { opacity: 0; position: absolute; right: 0; width: 34px; height: 20px; cursor: pointer; } .toggle-track { display: block; width: 34px; height: 20px; flex: none; background: #364255; border: 1px solid #4c596b; border-radius: 20px; position: relative; pointer-events: none; } .toggle-track::after { content: ""; display: block; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #d6dfed; border-radius: 50%; } .toggle-row input:checked + .toggle-track { background: #6bd8c7; border-color: #6bd8c7; } .toggle-row input:checked + .toggle-track::after { transform: translateX(14px); background: #173a35; } .toggle-row input:focus-visible + .toggle-track { outline: 2px solid var(--ring); outline-offset: 3px; } .library-drop { display: flex; flex-direction: row; align-items: center; padding: 20px; gap: 15px; border-style: dashed; box-shadow: none; margin-bottom: 28px; } .library-drop strong { font-weight: 680; } .library-drop p { color: var(--muted-foreground); font-size: .87rem; } .library-drop button { margin-left: auto; } .library-tools { display: grid; grid-template-columns: 1fr minmax(120px, 200px) minmax(115px, 150px); } .media-inspect { width: 100%; max-height: 64dvh; object-fit: contain; border-radius: 6px; } .settings-card { padding: 18px; gap: 16px; box-shadow: none; } .settings-title h2 { display: flex; align-items: center; gap: 8px; } .account-card { max-width: 500px; } .back-button { color: var(--muted-foreground); margin: -12px 0 11px -10px; } .heading-actions, .editor-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; } .editor-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 20px; align-items: start; } .editor-form-column, .editor-side { display: grid; align-items: start; gap: 14px; min-width: 0; } .editor-side { position: sticky; top: 17px; } .editor-preview .settings-title { padding: 2px 4px 3px; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; } .layout-label { font-size: .86rem; font-weight: 620; margin-bottom: -9px; } .layout-picker { display: grid; gap: 7px; grid-template-columns: repeat(4, minmax(0, 1fr)); } .layout-choice { display: grid; justify-items: center; align-content: center; gap: 5px; padding: 8px 3px; border: 1px solid var(--border); border-radius: 7px; color: #becadc; font-size: .8rem; text-align: center; background: #19212c; } .layout-choice.selected { border-color: #47897e; background: #24433f; color: #b9f4e7; } .layout-choice:disabled { opacity: .42; } .layout-icon { display: grid; width: 29px; height: 19px; gap: 2px; border: 1px solid currentColor; border-radius: 3px; padding: 2px; } .layout-icon > i { background: currentColor; opacity: .72; border-radius: 1px; } .layout-icon-split, .layout-icon-grid, .layout-icon-focus { grid-template-columns: 1fr 1fr; } .layout-icon-focus { grid-template-columns: 1.5fr 1fr; } .layout-icon-focus > i:first-child { grid-row: span 2; } .widget-settings .section-title { margin-bottom: 0; } .widget-empty { border: 1px dashed var(--border); border-radius: 9px; } .widget-item { border: 1px solid var(--border); border-radius: 9px; background: #1a222d; } .widget-item-head { display: flex; align-items: center; } .widget-item-head > button { min-width: 0; flex: 1; display: flex; align-items: center; gap: 9px; text-align: left; padding: 8px; } .widget-item-head > button > span:nth-child(2) { flex: 1; min-width: 0; } .widget-item-head strong, .widget-item-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .widget-item-head strong { font-size: .88rem; } .widget-item-head small { color: var(--muted-foreground); font-size: .76rem; margin-top: 1px; } .widget-item-head > button > svg { flex: none; color: var(--muted-foreground); } .widget-item-head > button > svg.expanded { transform: rotate(180deg); } .widget-actions { display: flex; padding-right: 6px; } .widget-item-body { border-top: 1px solid var(--border); padding: 13px; } .html-source { min-height: 130px; font-family: ui-monospace, monospace; resize: vertical; } .type-picker { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; } .type-picker button { justify-content: flex-start; min-height: 42px; } .kiosk-link { display: flex; gap: 7px; align-items: center; } .kiosk-link :is(input, .select-wrap) { flex: 1; min-width: 0; } .kiosk-actions { display: flex; gap: 7px; flex-wrap: wrap; } .plain-action, .danger-link { color: #ffafb9; width: max-content; max-width: 100%; white-space: normal; justify-content: start; } .danger-link:hover { color: #ffc4cd; } .gallery-order { display: grid; gap: 3px; } .gallery-order li { display: flex; align-items: center; gap: 3px; padding: 3px 6px; background: #232d3d; border-radius: 5px; } .gallery-order li > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .83rem; } .schedule { border: 1px solid var(--border); border-radius: 7px; padding: 8px; } .schedule summary { display: flex; align-items: center; gap: 7px; font-size: .87rem; font-weight: 600; color: #c8d4e4; } .schedule .form-grid { margin: 9px 0 5px; } .login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); } .login-main { width: min(380px, calc(100% - 44px)); margin: auto; display: grid; gap: 27px; padding: 40px 0; } .login-copy h1 { font-size: 2.5rem; letter-spacing: -.06em; font-weight: 740; } .login-copy p { color: var(--muted-foreground); margin-top: 5px; } .login-visual { display: grid; place-items: center; padding: 9%; background: radial-gradient(ellipse at 52% 54%, #223f43, #151c28 67%); border-left: 1px solid var(--border); } .login-display { width: min(100%, 610px); aspect-ratio: 16/10; border: 1px solid #577781; border-radius: 16px; background: #111e2c; box-shadow: 0 24px 85px #0008; padding: 5%; display: grid; gap: 10px; grid-template-rows: auto 1fr; } .login-display > div:first-child { display: flex; align-items: center; gap: 10px; font-weight: 650; color: #b7e8df; } .login-display-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; } .login-display-grid i { border-radius: 8px; background: #223644; border: 1px solid #37525d; } .login-display-grid i:first-child { grid-row: span 2; background: #255448; } .login-display-grid i:nth-child(2) { background-image: url('/campus-preview.webp'); background-size: cover; background-position: center; } @media (max-width: 1060px) { .app-shell { grid-template-columns: 196px minmax(0, 1fr); } .dashboard-split { grid-template-columns: minmax(0, 1fr); } .dashboard-preview { max-width: 640px; } } @media (max-width: 860px) { .editor-grid { grid-template-columns: minmax(0, 1fr); } .editor-side { position: static; } .stat-card { padding: 13px; gap: 9px; } .stat-icon { width: 32px; height: 32px; } } @media (max-width: 680px) { .app-shell { display: block; } .sidebar { position: fixed; left: 0; width: min(255px, 85vw); top: 57px; height: calc(100dvh - 57px); z-index: 3; box-shadow: 10px 0 25px #0007; display: none; } .sidebar.sidebar-open { display: flex; } .mobile-nav-button { display: inline-flex; } .topbar { min-height: 57px; } .breadcrumb > span, .breadcrumb > span + i { display: none; } .server-status { font-size: .75rem; } .workspace-content { padding-top: 24px; } .page-heading { align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; } .stats { gap: 7px; margin-bottom: 23px; } .stat-card { display: grid; padding: 9px; gap: 6px; } .stat-label { font-size: .76rem; } .stat-detail { font-size: .70rem; } .stat-value { font-size: 1.45rem; } .table-card :is(th, td) { padding: 10px; } .screen-table.compact .table-secondary { white-space: normal; max-width: 110px; } .library-drop { flex-wrap: wrap; } .library-drop button { margin-left: 0; } .library-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .library-tools > div:first-child { grid-column: span 2; } .login { display: flex; } .login-visual { display: none; } } @media (max-width: 380px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }