.menu-group a.active { color: #1677ff; background: rgba(255, 255, 255, 0.24); font-weight: 700; } .protocol-page { flex: 1; padding: 10px 12px 18px; background: #eef3f8; } .protocol-card { min-height: calc(100vh - 118px); padding: 18px 26px 82px; border-radius: 6px; background: #fff; box-shadow: 0 1px 8px rgba(28, 82, 142, 0.08); } .protocol-card h1 { margin: 0 0 26px; color: #111827; font-size: 16px; font-weight: 700; } .section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 28px 24px; color: #10213b; font-size: 14px; } .section-title span { width: 4px; height: 16px; display: inline-block; border-radius: 2px; background: #2e73ff; } .protocol-form { position: relative; } .editor-shell { width: min(865px, calc(100vw - 330px)); min-width: 720px; margin-left: 26px; border: 1px solid #d4d8df; background: #fff; } .editor-shell.fullscreen { position: fixed; inset: 18px; z-index: 240; width: auto; min-width: 0; margin: 0; display: flex; flex-direction: column; box-shadow: 0 16px 42px rgba(13, 34, 64, 0.28); } .editor-toolbar { height: 42px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; border-bottom: 1px solid #edf1f5; background: #fff; } .editor-toolbar button { height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; color: #666; background: transparent; font-size: 26px; cursor: pointer; } .editor-toolbar button:hover { color: #1f82ea; background: #f5f9ff; } .font-color { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; text-decoration: underline; } .font-size { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; } .font-size small { margin-left: 1px; font-size: 13px; } .list-icon, .align-icon, .fullscreen-icon { width: 26px; height: 26px; position: relative; display: inline-block; } .list-icon::before, .list-icon::after { content: ""; position: absolute; } .list-icon.unordered::before { left: 1px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor; } .list-icon.ordered::before { left: 0; top: 2px; content: "1\A2\A3"; white-space: pre; font-size: 8px; font-weight: 700; line-height: 8px; } .list-icon::after { left: 9px; top: 5px; width: 16px; height: 3px; background: currentColor; box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor; } .align-icon::before { content: ""; position: absolute; top: 5px; height: 3px; background: currentColor; box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor; } .align-icon.left::before { left: 2px; width: 22px; } .align-icon.center::before { left: 5px; width: 16px; } .align-icon.right::before { right: 2px; width: 22px; } .undo-icon, .redo-icon { font-size: 32px; line-height: 1; } .fullscreen-icon::before, .fullscreen-icon::after { content: ""; position: absolute; width: 8px; height: 8px; } .fullscreen-icon::before { left: 3px; top: 3px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; box-shadow: 12px 0 0 -1px #fff, 12px 0 0 0 currentColor; } .fullscreen-icon::after { right: 3px; bottom: 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; box-shadow: -12px 0 0 -1px #fff, -12px 0 0 0 currentColor; } .protocol-editor { min-height: 405px; padding: 14px 8px; color: #1f2d3d; background: #fff; font-size: 14px; line-height: 1.8; outline: 0; overflow: auto; } .editor-shell.fullscreen .protocol-editor { flex: 1; min-height: 0; } .protocol-editor:empty::before { content: attr(data-placeholder); color: #7c8da6; pointer-events: none; } .protocol-editor p { margin: 0 0 8px; } .protocol-editor ul, .protocol-editor ol { margin: 0 0 8px 24px; padding: 0; } .protocol-actions { position: fixed; left: 252px; bottom: 28px; } .protocol-save-button { min-width: 58px; height: 26px; padding: 0 16px; border: 1px solid #2e73ff; border-radius: 4px; color: #fff; background: #2e73ff; font-size: 12px; cursor: pointer; } .protocol-save-button:disabled { cursor: not-allowed; opacity: 0.72; } @media (max-width: 1280px) { .editor-shell { width: min(865px, calc(100vw - 285px)); min-width: 680px; } .protocol-actions { left: 238px; } }